Skip to main content
.NET Framework 4.6.2+

InMemoryDataStore Methods

Stores persistent objects in memory. Intended for a testing environment and not for production purposes or large data sets.
Name Description
CreateProviderFromString(String, AutoCreateOption, out IDisposable[]) static This method supports the internal infrastructure and is not intended to be called directly from your code.
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.
GetConnectionString(String, Boolean) static Returns a connection string that can be used to create an InMemoryDataStore instance.
GetConnectionString(String) static Returns a connection string that can be used to create an InMemoryDataStore instance.
GetConnectionStringInMemory(Boolean) static Returns 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() protected Creates a shallow copy of the current Object. Inherited from Object.
MemberwiseClone(Boolean) protected Creates a shallow copy of the current MarshalByRefObject object. Inherited from MarshalByRefObject.
QueryDataStore(IDbConnection, AutoCreateOption) static Creates a data store based on specified settings. Inherited from DataStoreBase.
QueryDataStore(String, String, AutoCreateOption, out IDisposable[]) static Creates 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) static Determines whether the specified Object instances are the same instance. Inherited from Object.
Register() static Registers 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) static Registers 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) static Registers a data store provider using a specified name and a procedure that establishes a connection for the provider. Inherited from DataStoreBase.
RegisterFactory(ProviderFactory) static Registers 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