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 |
---|---|---|
DbContext | context | The database context on which the method is called. |
Returns
Type | Description |
---|---|
Cache | Returns the instance of the Cache binded with the database context. |