Skip to main content
All docs
V24.2
.NET Framework 4.6.2+

DatabaseOptions Class

Stores database configuration options for a tested application.

Namespace: DevExpress.EasyTest.Framework

Assembly: DevExpress.EasyTest.v24.2.dll

NuGet Package: DevExpress.EasyTest

Declaration

public class DatabaseOptions :
    IEasyTestDatabaseOptions

Remarks

Use the DatabaseOptions(String, String, String, String, String, String, String, String) constructor to specify database configuration options.

public class YourSolutionNameTests : IDisposable { 
    const string AppDBName = "YourSolutionName"; 
    EasyTestFixtureContext FixtureContext { get; } = new EasyTestFixtureContext();

    public YourSolutionNameTests() { 
        FixtureContext.RegisterDatabases(new DatabaseOptions(AppDBName, "YourSolutionNameEasyTest", server: @"(localdb)\mssqllocaldb"));
    //
    }
    //
}

Inheritance

Object
DatabaseOptions
See Also