InMemoryDataStore.ReadFromInMemoryDataStore(InMemoryDataStore) Method
In This Article
Copies the content from a specified InMemoryDataStore.
Namespace: DevExpress.Xpo.DB
Assembly: DevExpress.Xpo.v24.2.dll
#Declaration
public void ReadFromInMemoryDataStore(
InMemoryDataStore dataStore
)
#Parameters
Name | Type | Description |
---|---|---|
data |
In |
An In |
#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