InMemoryDataStore.ReadFromInMemoryDataStore(InMemoryDataStore) Method
Copies the content from a specified InMemoryDataStore.
Namespace: DevExpress.Xpo.DB
Assembly: DevExpress.Xpo.v24.2.dll
Declaration
Parameters
Name | Type | Description |
---|---|---|
dataStore | InMemoryDataStore | An InMemoryDataStore object which specifies the source in-memory data store. |
Remarks
This method is useful if you are going to copy the content from a InMemoryDataStore to another InMemoryDataStore. So, rather than calling the InMemoryDataStore.WriteXml and InMemoryDataStore.ReadXml methods to save the content into a temporary XML file and then load it, you can call ReadFromInMemoryDataStore to quickly accomplish the task, without having to mediate via a temporary XML file. Using this method will also improve performance.
See Also