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

InMemoryDataStore.GetConnectionStringInMemory(Boolean) Method

Returns a connection string that can be used to create an InMemoryDataStore instance that is not bound to an XML file.

Namespace: DevExpress.Xpo.DB

Assembly: DevExpress.Xpo.v21.1.dll

NuGet Package: DevExpress.Xpo

Declaration

public static string GetConnectionStringInMemory(
    bool caseSensitive
)

Parameters

Name Type Description
caseSensitive Boolean

true if string comparisons during expression evaluations or sorting are case-sensitive; otherwise, false.

Returns

Type Description
String

A string containing the connection string to an InMemoryDataStore instance.

Remarks

The value returned by this method can be used to initialize a Session’s connection string (for instance, via the Session.ConnectionString or XpoDefault.ConnectionString property).

See Also