3 overrides of Member
System.Data.Linq (3)
Mapping\AttributedMetaModel.cs (1)
1086
public override MemberInfo
Member
{
Mapping\MappedMetaModel.cs (2)
1041
public override MemberInfo
Member
{
1738
public override MemberInfo
Member
{
87 references to Member
System.Data.Linq (82)
ChangeConflicts.cs (1)
417
get { return this.metaMember.
Member
; }
ChangeDirector.cs (6)
255
initializers[i++] = Expression.Convert(this.GetMemberExpression(source, mm.
Member
), typeof(object));
298
(mm.
Member
is PropertyInfo && ((PropertyInfo)mm.
Member
).CanWrite)
354
this.GetMemberExpression(serverItem, mt.VersionMember.
Member
),
355
this.GetMemberExpression(Expression.Constant(tracked.Current), mt.VersionMember.
Member
)
368
this.GetMemberExpression(serverItem, mm.
Member
),
ChangeTracker.cs (4)
593
throw Error.InconsistentAssociationAndKeyChange(accThis.
Member
.Name, mm.
Member
.Name);
696
yield return new ModifiedMemberInfo(mm.
Member
, currentValue, originalValue);
699
yield return new ModifiedMemberInfo(mm.
Member
, currentValue, null);
DataServices.cs (6)
220
Expression memberExpression = (metaMember.
Member
is FieldInfo)
221
? Expression.Field(serverItem, (FieldInfo)metaMember.
Member
)
222
: Expression.Property(serverItem, (PropertyInfo)metaMember.
Member
);
262
Expression mem = (member.
Member
is PropertyInfo)
263
? Expression.Property(e, (PropertyInfo)member.
Member
)
264
: Expression.Field(e, (FieldInfo)member.
Member
);
Mapping\AttributedMetaModel.cs (10)
475
object dn = InheritanceRules.DistinguishedMemberName(mem.
Member
);
478
throw Error.MemberMappedMoreThanOnce(mem.
Member
.Name);
566
if (mm.IsPrimaryKey && this.inheritanceRoot != this && mm.
Member
.DeclaringType == this.type) {
649
throw Error.TwoMembersMarkedAsPrimaryKeyAndDBGenerated(mm.
Member
, this.dbGeneratedIdentity.
Member
);
658
throw Error.TwoMembersMarkedAsRowVersion(mm.
Member
, this.version.
Member
);
663
throw Error.TwoMembersMarkedAsInheritanceDiscriminator(mm.
Member
, this.discriminator.
Member
);
1364
AssociationAttribute oattr = (AssociationAttribute)Attribute.GetCustomAttribute(omm.
Member
, typeof(AssociationAttribute));
Mapping\MappedMetaModel.cs (14)
469
object dn = InheritanceRules.DistinguishedMemberName(mem.
Member
);
472
throw Error.MemberMappedMoreThanOnce(mem.
Member
.Name);
603
if (mm.IsPrimaryKey && this.inheritanceRoot != this && mm.
Member
.DeclaringType == this.type) {
661
map.Add(InheritanceRules.DistinguishedMemberName(mm.
Member
), mm);
682
map.Add(InheritanceRules.DistinguishedMemberName(mm.
Member
), mm);
717
throw Error.TwoMembersMarkedAsPrimaryKeyAndDBGenerated(mm.
Member
, this.dbGeneratedIdentity.
Member
);
727
throw Error.TwoMembersMarkedAsRowVersion(mm.
Member
, this.version.
Member
);
733
if (!InheritanceRules.AreSameMember(this.discriminator.
Member
, mm.
Member
)) {
734
throw Error.TwoMembersMarkedAsInheritanceDiscriminator(mm.
Member
, this.discriminator.
Member
);
1648
map.Add(InheritanceRules.DistinguishedMemberName(mm.
Member
), mm);
SqlClient\Common\SqlFactory.cs (1)
498
return new SqlMember(member.Type, this.Default(member), expr, member.
Member
);
SqlClient\Query\QueryConverter.cs (7)
2415
bindings.Add(new SqlMemberAssign(mm.
Member
, sql.Member(sqlExprItem, mm.
Member
)));
2454
sql.Member(tableAliasRef, id.
Member
),
2510
if (mex != null && mex.Member == keyMember.
Member
) {
2741
this.AddIdentityMembers(tab.MetaTable.RowType.IdentityMembers.Select(m => m.
Member
));
2871
memberInfo = ((SqlColumn)expr).MetaMember.
Member
;
2875
memberInfo = (((SqlColumnRef)expr).Column).MetaMember.
Member
;
SqlClient\Query\SqlBinder.cs (4)
442
return this.VisitExpression(sql.Member(dof.Object, mt.Discriminator.
Member
));
678
&& this.shape != null && this.shape.IsPreloaded(mm.
Member
) && mm.LoadMethod == null
848
MetaDataMember mm = sn.MetaType.PersistentDataMembers.FirstOrDefault(p => p.
Member
== m.Member);
1043
MemberInfo mi = mdm.
Member
;
SqlClient\Query\SqlComparer.cs (2)
216
if (!MetaPosition.AreSameMember(l1.Member.
Member
, l2.Member.
Member
)) {
SqlClient\Query\Translator.cs (18)
54
SqlMember dm = sql.Member(item, discriminator.
Member
);
96
&& !IsPreloaded(link.Member.
Member
)) {
101
bindings.Add(new SqlMemberAssign(mm.
Member
, mlink));
104
bindings.Add(new SqlMemberAssign(mm.
Member
, this.BuildLink(item, mm, source)));
108
bindings.Add(new SqlMemberAssign(mm.
Member
, sql.Member(item, mm)));
123
exprs[i] = sql.Member(item, mm.
Member
);
134
exprs.Add(sql.Member(item, mm.
Member
));
136
SqlExpression expansion = sql.Member(item, member.
Member
);
155
LambdaExpression subquery = context.LoadOptions.GetAssociationSubquery(association.ThisMember.
Member
);
170
Expression parameterAsDeclaring = elementType == metaMember.
Member
.DeclaringType ?
171
(Expression)p : (Expression)Expression.Convert(p, metaMember.
Member
.DeclaringType);
172
Expression memberExpression = (metaMember.
Member
is FieldInfo)
173
? Expression.Field(parameterAsDeclaring, (FieldInfo)metaMember.
Member
)
174
: Expression.Property(parameterAsDeclaring, (PropertyInfo)metaMember.
Member
);
225
if (MetaPosition.AreSameMember(m.Member, this.association.ThisMember.
Member
)) {
254
Type memberType = TypeSystem.GetMemberType(metaMember.
Member
);
259
: (Expression)Expression.Constant(null, link.Member.
Member
.DeclaringType);
508
return type.DataMembers.Where(m => IsPublic(m.
Member
));
SqlClient\Reader\ObjectReaderCompiler.cs (8)
506
if (!MetaPosition.AreSameMember(l1.Member.
Member
, l2.Member.
Member
)) {
1054
MemberInfo m = mm.StorageMember != null ? mm.StorageMember : mm.
Member
;
1060
!this.compiler.services.Context.LoadOptions.IsPreloaded(mm.
Member
))
1107
MemberInfo m = mm.StorageMember != null ? mm.StorageMember : mm.
Member
;
1156
MemberInfo m = mm.StorageMember != null ? mm.StorageMember : mm.
Member
;
1218
MemberInfo m = mm.StorageMember != null ? mm.StorageMember : mm.
Member
;
1276
MemberInfo m = mm.StorageMember != null ? mm.StorageMember : mm.
Member
;
SqlClient\SqlBuilder.cs (1)
95
object dn = InheritanceRules.DistinguishedMemberName(mm.
Member
);
System.Web.DynamicData (4)
DynamicData\ModelProviders\DLinqAssociationProvider.cs (1)
80
ToColumn = parentEntityDataContext.ColumnLookup[(PropertyInfo)association.OtherMember.
Member
];
DynamicData\ModelProviders\DLinqColumnProvider.cs (1)
139
get { return (PropertyInfo)Member.
Member
; }
DynamicData\ModelProviders\DLinqTableProvider.cs (2)
30
MetaDataMember member = members.FirstOrDefault(m => m.
Member
.Name == propInfo.Name);
39
AddColumn(dataModel, member, (PropertyInfo)member.
Member
);
System.Web.Extensions (1)
UI\WebControls\LinqDataSourceView.cs (1)
868
IDictionary<string, MetaDataMember> columns = GetTableMetaDataMembers((ITable)EntitySet, entityType).ToDictionary(c => c.
Member
.Name);