Skip to main content
.NET 6.0+

InMemoryDataStore.ReadXml(String) Method

Reads the data into the InMemoryDataStore from a specific file.

Namespace: DevExpress.Xpo.DB

Assembly: DevExpress.Xpo.v23.2.dll

NuGet Package: DevExpress.Xpo

Declaration

public void ReadXml(
    string fileName
)

Parameters

Name Type Description
fileName String

The name of the file to read data from.

Remarks

Important

We do not recommend that you use the ReadXml and WriteXml methods due to potential vulnerabilities if the input XML document contains names of untrusted assemblies and types. Validate or sanitize the input XML documents even in testing and non-production environments for the best security.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ReadXml(String) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also