AbstractInfoProviderTInfo, TProvider, TQuery Methods |
The AbstractInfoProviderTInfo, TProvider, TQuery generic type exposes the following members.
Name | Description | |
---|---|---|
BeginTransaction |
Creates a new transaction over this provider.
| |
BulkDelete |
Bulk deletes info objects based on the given condition.
| |
BulkInsertInfos(IEnumerableBaseInfo) |
Bulk inserts the given list of info objects
| |
BulkInsertInfos(IEnumerableTInfo, BulkInsertSettings) |
Bulk inserts the given list of info objects.
| |
CheckObject |
Checks if the given info object is not null. Throws an exception if it is.
| |
CheckUniqueCodeName |
Checks if the object has unique code name. Returns true if the object has unique code name.
| |
CheckUniqueValues |
Checks if a record with the same column values already exists in the database. Returns true if the set of values is unique.
| |
ClearHashtables |
Clears the object's hashtables.
| |
CreateDefaultBulkInsertSettings |
Creates bulk insert settings. By default CheckConstraints
and TableLock flags are set.
| |
CreateInfo |
Creates a new info object.
| |
CreateWebFarmTask(String, String) |
Creates web farm task specific for current object and action name
| |
CreateWebFarmTask(String, String, Byte, String) |
Creates web farm task specific for current object and action name
| |
DeleteInfo |
Deletes the object to the database.
| |
DeleteObjectFromHashtables |
Deletes the object instance from the hashtables.
| |
GetDeleteQuery |
Gets the object query that deletes all items matching the query parameters
| |
GetInfoByCodeName(String, Boolean) |
Gets an instance of info object based on the given code name.
| |
GetInfoByCodeName(String, Int32, Boolean) |
Gets an instance of info object based on the given code name.
| |
GetInfoByCodeName(String, Int32, Boolean, Boolean) |
Gets an instance of info object based on the given code name.
| |
GetInfoByCodeName(String, Int32, Int32, Boolean) |
Gets an instance of info object based on the given code name.
| |
GetInfoByCodeNameAsync(String, Boolean, CancellationToken) |
Asynchronously gets an instance of info object based on the given code name.
| |
GetInfoByCodeNameAsync(String, Int32, Boolean, CancellationToken) |
Asynchronously gets an instance of info object based on the given code name.
| |
GetInfoByFullName |
Gets an instance of info object based on the given full name.
| |
GetInfoByGuid(Guid, Boolean) |
Gets an instance of info object based on the given GUID.
| |
GetInfoByGuid(Guid, Int32, Boolean) |
Gets an instance of info object based on the GUID.
| |
GetInfoByGuidAsync(Guid, Boolean, CancellationToken) |
Asynchronously gets an instance of info object based on the given GUID.
| |
GetInfoByGuidAsync(Guid, Int32, Boolean, CancellationToken) |
Asynchronously gets an instance of info object based on the GUID.
| |
GetInfoById |
Gets an instance of info object based on ID.
| |
GetInfoByIdAsync |
Asynchronously gets an instance of info object based on ID.
| |
GetInfosByIds |
Gets the list of info objects by their IDs.
| |
GetObjectQuery |
Gets the object query for the provider
| |
GetObjectQueryInternal |
Gets the object query for the provider
| |
Init |
Initializes the provider with the given type info and hashtable settings
| |
InitHashtableSettings | ||
InitTypeInfoAndRegister |
Initializes the provider variables.
| |
Invalidate |
Sets this provider as invalid
| |
LoadAllInfos |
Loads all infos to the hashtable
| |
LoadInfos |
Loads all objects from the database to memory.
| |
ProcessWebFarmTask |
Runs the processing of specific web farm task for current provider
| |
ProcessWebFarmTaskInternal |
Runs the processing of specific web farm task for current provider
| |
RegisterObjectInHashtables |
Registers the object instance within the hashtables.
| |
RemoveOriginalCodeNameFromHashtable |
Removes the original object code name from the hashtable
| |
SetAsDefaultProvider | Sets this provider instance as the default provider. Since the providers are managed by IoC container, setting the provider instance must be performed before the IoC container initialization finishes (i.e. during application pre-initialization). | |
SetInfo |
Inserts or Updates the object to the database.
| |
UpdateData(String, QueryDataParameters, String) |
Updates the data in the database based on the given where condition.
| |
UpdateData(IWhereCondition, IEnumerableKeyValuePairString, Object, Boolean) |
Updates the data in the database based on the given where condition.
| |
UpdateObjectInHashtables |
Updates the object instance in the hashtables. Update is different than RegisterObjectInHashtables(TInfo), because it logs task about changing object.
| |
ValidateCodeName |
Validates the object code name. Returns true if the code name is valid.
|