Appearance
Ensure Method
Definition
- Namespace:
JASE.Database - Assembly:
JASE.Database.dll
Overloads
| Name | Description |
|---|---|
TableInfo Ensure(TableInfo table, ISqlGenerator generator, TableInfoOptions options = null, ulong? shapeSignature = null) | Ensures a TableInfo has a CacheKey and is tracked. |
TableInfo Ensure(Type entityType, ISqlGenerator generator, string schema = null, TableInfoOptions options = null) | Ensures a POCO-mapped TableInfo is cached and tracked for invalidation. |
TableInfo Ensure(TableInfo table, ISqlGenerator generator, TableInfoOptions options = null, ulong? shapeSignature = null)
csharp
TableInfo Ensure(TableInfo table, ISqlGenerator generator, TableInfoOptions options = null, ulong? shapeSignature = null)Ensures a TableInfo has a CacheKey and is tracked.
Remarks
When Type is set, uses the POCO key path. Otherwise assigns a dynamic key.
TableInfo Ensure(Type entityType, ISqlGenerator generator, string schema = null, TableInfoOptions options = null)
csharp
TableInfo Ensure(Type entityType, ISqlGenerator generator, string schema = null, TableInfoOptions options = null)Ensures a POCO-mapped TableInfo is cached and tracked for invalidation.