Back to Devexpress

InMemoryDataStore Methods

xpo-devexpress-dot-xpo-dot-db-dot-inmemorydatastore-dot-underscore-methods.md

latest9.5 KB
Original Source

InMemoryDataStore Methods

Stores persistent objects in memory. Intended for a testing environment and not for production purposes or large data sets.

NameDescription
CreateProviderFromString(String, AutoCreateOption, out IDisposable[]) staticThis method supports the internal infrastructure and is not intended to be called directly from your code.
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.
GetConnectionString(String, Boolean) staticReturns a connection string that can be used to create an InMemoryDataStore instance.
GetConnectionString(String) staticReturns a connection string that can be used to create an InMemoryDataStore instance.
GetConnectionStringInMemory(Boolean) staticReturns a connection string that can be used to create an InMemoryDataStore instance that is not bound to an XML file.
GetHashCode()Serves as the default hash function. Inherited from Object.
GetLifetimeService()Retrieves the current lifetime service object that controls the lifetime policy for this instance. Inherited from MarshalByRefObject.
GetStorageTables(String[])Returns information that describes the structures of the specified tables.
GetStorageTablesList(Boolean)Returns a list of the available tables in the data store.
GetStoredProcedures()Returns an array of stored procedures available within the data store.
GetTableSchema(String)This member supports the internal infrastructure and is not intended to be used directly from your code.
GetType()Gets the Type of the current instance. Inherited from Object.
InitializeLifetimeService()Obtains a lifetime service object to control the lifetime policy for this instance. Inherited from MarshalByRefObject.
MemberwiseClone() protectedCreates a shallow copy of the current Object. Inherited from Object.
MemberwiseClone(Boolean) protectedCreates a shallow copy of the current MarshalByRefObject object. Inherited from MarshalByRefObject.
QueryDataStore(IDbConnection, AutoCreateOption) staticCreates a data store based on specified settings. Inherited from DataStoreBase.
QueryDataStore(String, String, AutoCreateOption, out IDisposable[]) staticCreates a data store based on specified settings. Inherited from DataStoreBase.
ReadFromInMemoryDataStore(InMemoryDataStore)Copies the content from a specified InMemoryDataStore.
ReadXml(String)Reads the data into the InMemoryDataStore from a specific file.
ReadXml(XmlReader)Reads the data into the InMemoryDataStore from a specific XmlReader.
ReferenceEquals(Object, Object) staticDetermines whether the specified Object instances are the same instance. Inherited from Object.
Register() staticRegisters the provider for use with XPO.
RegisterCustomAggregate(ICustomAggregate)
RegisterCustomAggregates(ICollection<ICustomAggregate>)
RegisterCustomFunctionOperator(ICustomFunctionOperator)Registers a custom function operator.
RegisterCustomFunctionOperators(ICollection<ICustomFunctionOperator>)Registers custom function operators.
RegisterDataStoreProvider(String, DataStoreCreationFromConnectionDelegate) staticRegisters a data store provider using a specified connection type name and a procedure that establishes a connection for the provider. Inherited from DataStoreBase.
RegisterDataStoreProvider(String, DataStoreCreationFromStringDelegate) staticRegisters a data store provider using a specified name and a procedure that establishes a connection for the provider. Inherited from DataStoreBase.
RegisterFactory(ProviderFactory) staticRegisters a specified data store provider factory. Inherited from DataStoreBase.
ToString()Returns a string that represents the current object. Inherited from Object.
UpdateSchema(DBTable[])Updates a data store’s schema according to specified settings. Inherited from DataStoreBase.
WriteXml(String)Writes the data contained in the InMemoryDataStore to the specified file.
WriteXml(XmlWriter)Writes the data contained in the InMemoryDataStore to the specified XmlWriter.

See Also

InMemoryDataStore Class

InMemoryDataStore Members

DevExpress.Xpo.DB Namespace