• Webinars
  • Docs
  • Download
  • Blogs
  • Contact Us
Try Free
Show / Hide Table of Contents

Method GetCache

GetCache(DbContext)

Returns the instance of the cache that is binded with the database context on which the method is called.

Declaration
public static Cache GetCache(this DbContext context)
Parameters
Type Name Description
Microsoft.EntityFrameworkCore.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.

Back to top Copyright © 2017 Alachisoft