DatabaseConnectionPair

Ecng.Data

Provider and connection string pair.

継承元: NotifiableObject

実装: IPersistable

プロパティ

ConnectionString
public string ConnectionString { get; set; }
value = databaseConnectionPair.ConnectionString
databaseConnectionPair.ConnectionString = value

Connection settings.

Provider
public string Provider { get; set; }
value = databaseConnectionPair.Provider
databaseConnectionPair.Provider = value

Provider type.

Title
public string Title { get; }
value = databaseConnectionPair.Title

Connection title.

メソッド

Equals
public override bool Equals(object obj)
result = databaseConnectionPair.Equals(obj)

Determines whether the specified object is equal to the current object.

obj
The object to compare with this object.

戻り値: true if the specified object is equal to the current object; otherwise, false.

GetHashCode
public override int GetHashCode()
result = databaseConnectionPair.GetHashCode()

Computes a hash code for this tuple based on its values.

戻り値: A hash code for the tuple.

ToString
public override string ToString()
result = databaseConnectionPair.ToString()

Returns a string representation of the tuple, with values separated by commas.

戻り値: A string representing the tuple's values.