Method GetCache
GetCache(DbContext)
Returns the instance of the cache binded with the database context on which the method is called.
Declaration
public static Cache GetCache(this DbContext context)
Parameters
Type | Name | Description |
---|---|---|
Db |
context | The database context on which the method is called. |