Skip to main content
.NET Framework 4.6.2+

SimpleDataLayer Members

Implements a data layer that enables the object metadata to be modified at runtime.

Constructors

Name Description
SimpleDataLayer(IDataStore) Initializes a new instance of the SimpleDataLayer class with a specified data store provider and default metadata information.
SimpleDataLayer(XPDictionary, IDataStore) Initializes a new instance of the SimpleDataLayer class with the specified IDataStore object and metadata information.

Properties

Name Description
Connection A IDbConnection object that specifies the connection to the data store if it allows commands to be created.
SuppressReentrancyAndThreadSafetyCheck static Obsolete. Disables the thread safety diagnostic function.

Methods

Name Description
ClearDatabase() This member supports the internal infrastructure and is not intended to be used directly from your code.
CreateCommand() Creates a command if the data store allows commands to be created.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ModifyData(ModificationStatement[]) Updates data in a data store using the specified modification statements.
ModifyDataAsync(CancellationToken, ModificationStatement[])
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
SelectData(SelectStatement[]) Fetches data from a data store using the specified query statements.
SelectDataAsync(CancellationToken, SelectStatement[])
UpdateSchema(Boolean, XPClassInfo[]) Updates a data store’s schema according to the specified class descriptions.
UpdateSchemaAsync(CancellationToken, Boolean, XPClassInfo[]) Asynchronously updates a data store’s schema according to the specified class descriptions.
See Also