Skip to main content
All docs
V24.1
.NET 6.0+

DatabaseOptions Class

Stores database configuration options for a tested application.

Namespace: DevExpress.EasyTest.Framework

Assembly: DevExpress.EasyTest.v24.1.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