Click or drag to resize
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: Dapper
Assembly: VirtualRadar.Database (in VirtualRadar.Database.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static IEqualityComparer<string> ConnectionStringComparer { get; set; }

Property Value

Type: IEqualityComparerString
See Also