Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

InMemoryDataStore() Constructor

Initializes a new instance of the InMemoryDataStore class and sets the IDataStore.AutoCreateOption property to AutoCreateOption.DatabaseAndSchema.

Namespace: DevExpress.Xpo.DB

Assembly: DevExpress.Xpo.v21.1.dll

NuGet Package: DevExpress.Xpo

Declaration

public InMemoryDataStore()

Remarks

Usually a Session object creates a connection provider manually based on the information supplied by the connection string. There are also cases when you need to create the connection provider manually, via its constructor, for example:

  • when sharing a single IDataLayer object between multiple sessions. A connection provider should be passed to the data layer’s constructor. See the IDataLayer topic, for additional information.
See Also