36 references to Member
System.Data.Linq (36)
SqlClient\Query\MethodCallConverter.cs (2)
97
return TypeSystem.IsNullableType(m.Expression.ClrType) && m.
Member
.Name == "Value";
101
return TypeSystem.IsNullableType(m.Expression.ClrType) && m.
Member
.Name == "HasValue";
SqlClient\Query\QueryConverter.cs (1)
2879
memberInfo = ((SqlMember)expr).
Member
;
SqlClient\Query\SqlBinder.cs (16)
769
if (m.
Member
.DeclaringType.IsAssignableFrom(sn.ClrType)) {
783
MetaDataMember mm = GetRequiredInheritanceDataMember(tab.RowType, m.
Member
);
798
MetaDataMember mm = GetRequiredInheritanceDataMember(fc.RowType, m.
Member
);
830
MetaDataMember mm = GetRequiredInheritanceDataMember(row.RowType, m.
Member
);
844
SqlExpression e = sn.Find(m.
Member
);
848
MetaDataMember mm = sn.MetaType.PersistentDataMembers.FirstOrDefault(p => p.Member == m.
Member
);
850
throw Error.MemberNotPartOfProjection(m.
Member
.DeclaringType, m.
Member
.Name);
865
SqlNode result = this.Visit(sql.Member(aref, m.
Member
));
884
return sql.Member(exp, m.
Member
);
918
else if (m.
Member
is PropertyInfo) {
919
PropertyInfo p = (PropertyInfo)m.
Member
;
923
FieldInfo f = (FieldInfo)m.
Member
;
929
if (m.
Member
.Name == "Key") {
940
Expression.MakeMemberAccess(cp.Accessor.Body, m.
Member
),
952
return sql.Member(exp, m.
Member
);
SqlClient\Query\SqlComparer.cs (2)
119
return (((SqlMember)node1).
Member
== ((SqlMember)node2).
Member
) &&
SqlClient\Query\SqlDuplicator.cs (1)
182
return new SqlMember(m.ClrType, m.SqlType, (SqlExpression)this.Visit(m.Expression), m.
Member
);
SqlClient\Query\SqlFormatter.cs (2)
745
sb.Append(m.
Member
.Name);
1218
return ((SqlMember)exp).
Member
.Name;
SqlClient\Query\SqlMethodCallConverter.cs (8)
530
return m.Expression.ClrType == typeof(string) && m.
Member
.Name == "Length";
534
return m.Expression.ClrType == typeof(Binary) && m.
Member
.Name == "Length";
555
string datePart = GetDatePart(m.
Member
.Name);
559
switch (m.
Member
.Name) {
574
string datePart = GetDatePart(m.
Member
.Name);
578
switch (m.
Member
.Name) {
591
switch (m.
Member
.Name) {
2165
MemberInfo member = m.
Member
;
SqlClient\Reader\ObjectReaderCompiler.cs (4)
610
return m1.
Member
== m2.
Member
&& AreSimilar(m1.Expression, m2.Expression);
880
FieldInfo fi = m.
Member
as FieldInfo;
887
PropertyInfo pi = (PropertyInfo)m.
Member
;