2 overrides of ThisMember
System.Data.Linq (2)
Mapping\AttributedMetaModel.cs (1)
1377public override MetaDataMember ThisMember {
Mapping\MappedMetaModel.cs (1)
1283public override MetaDataMember ThisMember {
28 references to ThisMember
System.Data.Linq (28)
ChangeProcessor.cs (7)
215Debug.Assert(assoc.ThisMember.IsAssociation, "Expected ThisMember of an association to always be an association."); 220MetaDataMember thisMember = assoc.ThisMember; 504if (assoc.ThisMember.StorageAccessor.HasAssignedValue(instance) || 505assoc.ThisMember.StorageAccessor.HasLoadedValue(instance) 507other = assoc.ThisMember.MemberAccessor.GetBoxedValue(instance); 520if (assoc.ThisMember.StorageAccessor.HasAssignedValue(item.Current) || 521assoc.ThisMember.StorageAccessor.HasLoadedValue(item.Current)
ChangeTracker.cs (8)
315assoc.ThisMember.StorageAccessor.HasAssignedValue(Current) && 316assoc.ThisMember.StorageAccessor.GetBoxedValue(Current) == null) { 569MetaDataMember mm = assoc.ThisMember; 718if (HasDeferredLoader(assoc.ThisMember)) { 755InitializeDeferredLoader(assoc.ThisMember); 813if (assoc.ThisMember.IsDeferred) { 814otherItem = assoc.ThisMember.DeferredValueAccessor.GetBoxedValue(this.current); 817otherItem = assoc.ThisMember.StorageAccessor.GetBoxedValue(this.current);
DataContext.cs (6)
407if(!assoc.ThisMember.DeclaringType.IsEntity) { 408throw Error.NonEntityAssociationMapping(assoc.ThisMember.DeclaringType.Type, assoc.ThisMember.Name, assoc.ThisMember.DeclaringType.Type); 411throw Error.NonEntityAssociationMapping(assoc.ThisMember.DeclaringType.Type, assoc.ThisMember.Name, assoc.OtherType.Type);
DataServices.cs (4)
238Type rootType = association.ThisMember.DeclaringType.InheritanceRoot.Type; 240if (rootType != association.ThisMember.DeclaringType.Type) { 241thisSource = Expression.Call(typeof(Enumerable), "Cast", new Type[] { association.ThisMember.DeclaringType.Type }, thisSource); 243Expression thisInstance = Expression.Call(typeof(Enumerable), "FirstOrDefault", new Type[] { association.ThisMember.DeclaringType.Type },
Mapping\MappedMetaModel.cs (1)
1526return string.Format(Globalization.CultureInfo.InvariantCulture, "{0} ->{1} {2}", ThisMember.DeclaringType.Name, IsMany ? "*" : "", OtherType.Name);
SqlClient\Query\Translator.cs (2)
155LambdaExpression subquery = context.LoadOptions.GetAssociationSubquery(association.ThisMember.Member); 225if (MetaPosition.AreSameMember(m.Member, this.association.ThisMember.Member)) {