Skip to main content
.NET Framework 4.6.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.v24.2.dll

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