Back to Devexpress

SimpleDataLayer Members

xpo-devexpress-dot-xpo-dot-simpledatalayer-dot-underscore-members.md

latest4.8 KB
Original Source

SimpleDataLayer Members

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

Constructors

NameDescription
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

NameDescription
ConnectionA IDbConnection object that specifies the connection to the data store if it allows commands to be created.
SuppressReentrancyAndThreadSafetyCheck staticObsolete. Disables the thread safety diagnostic function.

Methods

NameDescription
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) staticDetermines 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() protectedCreates 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) staticDetermines 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

SimpleDataLayer Class

DevExpress.Xpo Namespace