DatabaseConnectionPair

Ecng.Data

Provider and connection string pair.

Erbt von: NotifiableObject

Implementiert: IPersistable

Eigenschaften

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.

Methoden

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.

Rückgabe: 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.

Rückgabe: 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.

Rückgabe: A string representing the tuple's values.