SqlBuilderFactory.Cache Property
.NET Standard 2.x
Gets an ISqlBuilderCache object that provides caching function for ISqlBuilder
objects.
Namespace: SnapObjects.Data
Assembly: SnapObjects.Data.dll
Syntax
public static ISqlBuilderCache Cache { get; }
Property Value
SnapObjects.Data.ISqlBuilderCache
An ISqlBuilderCache object that provides caching function.
Examples
The following code example demonstrates how to get data from the cache of SqlBuilderFactory.
using SnapObjects.Data;
namespace Appeon.ApiDoc.SqlBuilderFactoryExamples
{
public class CacheExample
{
private readonly SchoolContext _context;
public CacheExample(SchoolContext dataContext)
{
// Sets data context.
_context = dataContext;
}
public void Example()
{
var cache = SqlBuilderFactory.Cache;
}
}
}
Applies to
.NET Standard
2.x