2 instantiations of MultiKey
System.Data.Linq (2)
16 references to MultiKey
System.Data.Linq (16)
IdentityManager.cs (16)
153internal class MultiKeyManager<T, V1, V2> : KeyManager<T, MultiKey<V1, V2>> {
157IEqualityComparer<MultiKey<V1, V2>> comparer;
165internal override MultiKey<V1, V2> CreateKeyFromInstance(T instance) {
172internal override bool TryCreateKeyFromValues(object[] values, out MultiKey<V1, V2> k) {
177k = default(MultiKey<V1, V2>);
182k = default(MultiKey<V1, V2>);
190get { return typeof(MultiKey<V1, V2>); }
193internal override IEqualityComparer<MultiKey<V1, V2>> Comparer {
196this.comparer = new MultiKey<V1, V2>.Comparer(EqualityComparer<V1>.Default, next.Comparer);
212internal class Comparer : IEqualityComparer<MultiKey<T1, T2>>, IEqualityComparer {
221public bool Equals(MultiKey<T1, T2> x, MultiKey<T1, T2> y) {
226public int GetHashCode(MultiKey<T1, T2> x) {
231return this.Equals((MultiKey<T1, T2>)x, (MultiKey<T1, T2>)y);
235return this.GetHashCode((MultiKey<T1, T2>)x);