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