74 references to Property
System.Data.Entity (74)
System\Data\Common\CommandTrees\DefaultExpressionVisitor.cs (1)
463
result = CqtBuilder.Property(newInstance, expression.
Property
.Name);
System\Data\Common\CommandTrees\Internal\ExpressionCopier.cs (8)
223
if (Helper.IsRelationshipEndMember(expression.
Property
))
226
if(!TryGetMember(newInstance, expression.
Property
.Name, out endMember))
228
throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_Copier_EndNotFound(expression.
Property
.Name, TypeHelpers.GetFullName(newInstance.ResultType.EdmType)));
232
else if (Helper.IsNavigationProperty(expression.
Property
))
235
if (!TryGetMember(newInstance, expression.
Property
.Name, out navProp))
237
throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_Copier_NavPropertyNotFound(expression.
Property
.Name, TypeHelpers.GetFullName(newInstance.ResultType.EdmType)));
244
if (!TryGetMember(newInstance, expression.
Property
.Name, out prop))
246
throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_Copier_PropertyNotFound(expression.
Property
.Name, TypeHelpers.GetFullName(newInstance.ResultType.EdmType)));
System\Data\Common\CommandTrees\Internal\ExpressionDumper.cs (4)
507
RelationshipEndMember end = e.
Property
as RelationshipEndMember;
512
else if (Helper.IsNavigationProperty(e.
Property
))
514
Dump((NavigationProperty)e.
Property
, "Property");
518
Dump((EdmProperty)e.
Property
);
System\Data\Common\CommandTrees\Internal\ExpressionKeyGen.cs (1)
346
_key.Append(e.
Property
.Name);
System\Data\Common\CommandTrees\Internal\ExpressionPrinter.cs (3)
576
inst.Text.Append(e.
Property
.Name);
582
EdmProperty prop = e.
Property
as EdmProperty;
589
retInfo.Text.Append(e.
Property
.Name);
System\Data\Common\CommandTrees\Internal\ViewSimplifier.cs (8)
430
List<string> predicateColumnNames = propertyPredicates.Select(px => px.
Property
.Name).ToList();
439
EdmProperty discriminatorProp = (EdmProperty)((DbPropertyExpression)((DbComparisonExpression)discriminatorPredicates.First().Value).Left).
Property
;
467
comparedProp.
Property
!= discriminatorProp ||
496
if (!selectorPredicateMap.TryGetValue(propWhen.
Property
.Name, out discriminatorWhen))
541
this.replacements.TryGetValue(expression.
Property
.Name, out replacementValue))
729
return m_varRefMemberBindings[property.
Property
.Name];
789
discriminatorProperty = (EdmProperty)currentDiscriminator.
Property
;
791
else if (discriminatorProperty != currentDiscriminator.
Property
)
System\Data\Common\CommandTrees\ValueExpressions.cs (1)
259
return new KeyValuePair<string, DbExpression>(this.
Property
.Name, this);
System\Data\Common\EntitySql\SemanticAnalyzer.cs (1)
3992
propertyRef.
Property
!= inputVariableTypeProperties[i])
System\Data\Common\EntitySql\SemanticResolver.cs (1)
796
return property.
Property
.Name;
System\Data\Mapping\Update\Internal\DynamicUpdateCommand.cs (1)
85
if (((DbPropertyExpression)setClause.Property).
Property
.EdmEquals(member))
System\Data\Mapping\Update\Internal\Propagator.Evaluator.cs (1)
410
result = instance.GetMemberValue(node.
Property
);
System\Data\Mapping\ViewGeneration\DiscriminatorMap.cs (4)
115
if (null == discriminatorProperty) { discriminatorProperty = (EdmProperty)currentDiscriminator.
Property
; }
116
else if (discriminatorProperty != currentDiscriminator.
Property
) { return false; }
262
return prop1.
Property
== prop2.
Property
&&
System\Data\Mapping\ViewValidator.cs (4)
130
if (expression.
Property
.BuiltInTypeKind != BuiltInTypeKind.EdmProperty)
133
_setMapping.Set.Name, expression.
Property
.Name, expression.
Property
.BuiltInTypeKind), (int)StorageMappingErrorCode.MappingUnsupportedPropertyKindQueryView,
351
return setInfos.GetEntitySetInfoForMember(expression.
Property
.Name);
System\Data\Objects\ELinq\MethodCallTranslator.cs (5)
661
newColumns.Add(new KeyValuePair<string, DbExpression>(propertyExpr.
Property
.Name, newExpr));
665
newColumns.Add(new KeyValuePair<string, DbExpression>(propertyExpr.
Property
.Name, propertyExpr));
2649
rightProjectProjection.
Property
.Name != loj.Right.VariableName ||
2692
var lojRightValueSource = crossApplyInputRowType.Properties.SingleOrDefault(p => p.Name == lojRight.
Property
.Name);
2949
renames.Add(Tuple.Create((EdmProperty)rename.
Property
, outerRowType.Properties[i].Name));
System\Data\Objects\ELinq\Translator.cs (1)
339
if (property.
Property
.Name == ExpressionConverter.GroupColumnName && // only know how to unwrap the group
System\Data\Query\InternalTrees\ExplicitDiscriminatorMap.cs (1)
34
m_discriminatorProperty = template.Discriminator.
Property
;
System\Data\Query\PlanCompiler\ITreeGenerator.cs (11)
1217
if (Helper.IsNavigationProperty(instanceExpression.
Property
) &&
1218
instanceType.KeyMembers.Contains(propertyExpression.
Property
))
1222
NavigationProperty navigationProperty = (NavigationProperty)instanceExpression.
Property
;
1227
rewritten = rewritten.Property(propertyExpression.
Property
.Name);
1240
if (BuiltInTypeKind.EdmProperty != e.
Property
.BuiltInTypeKind &&
1241
BuiltInTypeKind.AssociationEndMember != e.
Property
.BuiltInTypeKind &&
1242
BuiltInTypeKind.NavigationProperty != e.
Property
.BuiltInTypeKind)
1278
if (string.Equals(e.
Property
.Name, ((EdmMember)propertyOrEndMembers[idx]).Name, StringComparison.Ordinal))
1297
Op op = _iqtCommand.CreatePropertyOp(e.
Property
);
1300
instance = BuildSoftCast(instance, e.
Property
.DeclaringType);
2218
newArgs.Add(CreateNewInstanceArgument(_discriminatorMap.Discriminator.
Property
, _discriminatorMap.Discriminator));
System\Data\SqlClient\SqlGen\DmlSqlGenerator.cs (3)
244
HashSet<EdmMember> columnsWithValues = new HashSet<EdmMember>(tree.SetClauses.Cast<DbSetClause>().Select(s => ((DbPropertyExpression)s.Property).
Property
));
535
EdmMember property = ((DbPropertyExpression)propertyExpression).
Property
;
601
_commandText.Append(GenerateMemberTSql(expression.
Property
));
System\Data\SqlClient\SqlGen\Sql8ExpressionRewriter.cs (3)
392
if (expr1.
Property
.Name != expr2.
Property
.Name)
432
string name = pe.
Property
.Name;
System\Data\SqlClient\SqlGen\SqlGenerator.cs (12)
2062
return first.
Property
== second.
Property
&& this.Equals(first.Instance, second.Instance);
2096
return ((DbPropertyExpression)obj).
Property
.GetHashCode();
2321
Debug.Assert(joinSymbol.NameToExtent.ContainsKey(e.
Property
.Name));
2324
return new SymbolPair(joinSymbol, joinSymbol.NameToExtent[e.
Property
.Name]);
2328
return joinSymbol.NameToExtent[e.
Property
.Name];
2340
symbolPair.Column = columnJoinSymbol.NameToExtent[e.
Property
.Name];
2348
if (symbolPair.Column.Columns.ContainsKey(e.
Property
.Name))
2353
Symbol columnSymbol = symbolPair.Column.Columns[e.
Property
.Name];
2368
if (symbol != null && symbol.OutputColumns.TryGetValue(e.
Property
.Name, out colSymbol))
2377
result.Append(QuoteIdentifier(e.
Property
.Name));
2384
result.Append(QuoteIdentifier(e.
Property
.Name));