CacheManager Class
Provides a cache manager for storing and retrieving type properties.
Namespace
DbSyncKit.DB.Manager
Base Types
  • object
graph BT Type-->Base0["object"] Type["CacheManager"] class Type type-node

Syntax

public static class CacheManager

Methods

Name Return Value Summary
DisposeType(Type) void
Disposes of cached data associated with the specified type.
static
GetAllColumns(Type) List<string>
Gets the names of all properties for a specified type.
static
GetComparableProperties(Type) PropertyInfo[]
Gets the properties that are comparable (not key or excluded) for a specified type.
static
GetExcludedColumns(Type) List<string>
Gets the names of properties marked as excluded properties for a specified type.
static
GetExcludedProperties(Type) PropertyInfo[]
Gets the excluded properties for a specified type.
static
GetIdentityColumns(Type) List<string>
Retrieves a list of identity columns for a specified data contract type.
static
GetIncludeIdentityInsert(Type) bool
Gets a value indicating whether to include the identity insert in the INSERT query for the specified type.
static
GetInsertWithID(Type) bool
Gets a value indicating whether the INSERT query for the specified type should include the identity column.
static
GetKeyColumns(Type) List<string>
Gets the names of properties marked as key columns for a specified type.
static
GetKeyProperties(Type) PropertyInfo[]
Gets the properties that are unique for a specified type.
static
GetTableName(Type) string
Gets the name of the database table associated with the specified type.
static
GetTableSchema(Type) string
Gets the schema of the database table associated with the specified type.
static
GetTypeProperties(Type) PropertyInfo[]
Gets the properties of a specified type, using a cached version if available.
static