Method GetDependency
GetDependency(DependencyType, String, String)
Return the result of the query
from the cache. If the query is not cached
yet, the query is materialized asynchronously and cached before being returned.
Declaration
public static CacheDependency GetDependency(DependencyType targetDatabase, string commandText, string connectionString)
Parameters
Type | Name | Description |
---|---|---|
Alachisoft.NCache.EntityFrameworkCore.DependencyType | targetDatabase | |
System.String | commandText | |
System.String | connectionString |
Returns
Type | Description |
---|---|
CacheDependency | The result of the query. |