Class DbSettings

Class DbSettings

Namespace: Aspose.Tasks.Connectivity
Assembly: Aspose.Tasks.dll (25.2.0)

Allows to specify settings to read from project database.

public abstract class DbSettings

Inheritance

objectDbSettings

Derived

MpdSettings, MspDbSettings, PrimaveraDbSettings

Inherited Members

object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Constructors

DbSettings(string)

Initializes a new instance of the Aspose.Tasks.Connectivity.DbSettings class.

protected DbSettings(string connectionString)

Parameters

connectionString string

the specified connection string.

Properties

ConnectionString

Gets or sets the connection string.

public string ConnectionString { get; set; }

Property Value

string

ProviderInvariantName

Gets or sets provider invariant name which is used to get an instance of the System.Data.Common.DbProviderFactory class. Default value is System.Data.SqlClient.

public string ProviderInvariantName { get; set; }

Property Value

string