SqlMapperConnectionStringComparer Property |
How should connection strings be compared for equivalence? Defaults to StringComparer.Ordinal.
Providing a custom implementation can be useful for allowing multi-tenancy databases with identical
schema to share strategies. Note that usual equivalence rules apply: any equivalent connection strings
MUST yield the same hash-code.
Namespace: DapperAssembly: VirtualRadar.Database (in VirtualRadar.Database.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public static IEqualityComparer<string> ConnectionStringComparer { get; set; }
Public Shared Property ConnectionStringComparer As IEqualityComparer(Of String)
Get
Set
public:
static property IEqualityComparer<String^>^ ConnectionStringComparer {
IEqualityComparer<String^>^ get ();
void set (IEqualityComparer<String^>^ value);
}
static member ConnectionStringComparer : IEqualityComparer<string> with get, set
Property Value
Type:
IEqualityComparerStringSee Also