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