99 references to Properties
System.Data.Entity (95)
System\Data\Common\CommandTrees\DefaultExpressionVisitor.cs (2)
974
var boundKeys = groupOutput.
Properties
.Take(newKeys.Count).Select(p => p.Name).Zip(newKeys).ToList();
975
var boundAggs = groupOutput.
Properties
.Skip(newKeys.Count).Select(p => p.Name).Zip(newAggs).ToList();
System\Data\Common\CommandTrees\ExpressionBuilder\Internal\ArgumentValidation.cs (1)
1960
foreach (EdmProperty prop in ((RowType)item).
Properties
)
System\Data\Common\CommandTrees\Internal\ExpressionCopier.cs (3)
136
for (int idx = 0; idx < rowType.
Properties
.Count; idx++)
138
EdmProperty originalProp = rowType.
Properties
[idx];
145
rowType.
Properties
.Select(
System\Data\Common\CommandTrees\Internal\ExpressionPrinter.cs (5)
331
foreach (EdmProperty recColumn in rowType.
Properties
)
339
if (idx < rowType.
Properties
.Count)
913
keys.Add(this.VisitWithLabel("Key", outputType.
Properties
[idx].Name, e.Keys[keyIdx]));
918
for (int idx = e.Keys.Count; idx < outputType.
Properties
.Count; idx++)
921
aggInfo.Text.Append(outputType.
Properties
[idx].Name);
System\Data\Common\CommandTrees\Internal\ViewSimplifier.cs (1)
447
string propName = resultRow.
Properties
[idx].Name;
System\Data\Common\EntitySql\SemanticAnalyzer.cs (1)
328
foreach (EdmProperty property in ((RowType)resultType.EdmType).
Properties
)
System\Data\Mapping\DefaultObjectMappingItemCollection.cs (7)
277
Debug.Assert(clrRowType.
Properties
.Count == edmRowType.
Properties
.Count, "Property count mismatch");
278
for (int idx = 0; idx < clrRowType.
Properties
.Count; idx++)
280
typeMapping.AddMemberMap(new ObjectPropertyMapping(edmRowType.
Properties
[idx], clrRowType.
Properties
[idx]));
305
foreach (EdmProperty column in ((RowType)cdmType).
Properties
)
344
foreach (EdmProperty column in ((RowType)clrType).
Properties
)
System\Data\Mapping\FunctionImportMappingComposable.cs (2)
428
Debug.Assert(rowType.
Properties
.Contains(column.Name), "Column name must be resolvable in the TVF result type.");
448
var column = rowType.
Properties
[0];
System\Data\Mapping\StorageMappingItemLoader.cs (7)
2270
if (cTypeTvfElementType.
Properties
.Count > 1)
2278
if (!ValidateFunctionImportMappingResultTypeCompatibility(TypeUsage.Create(scalarResultType), cTypeTvfElementType.
Properties
[0].TypeUsage))
2372
if (sTypeTvfElementType.
Properties
.TryGetValue(condition.ColumnName, false, out column))
2391
var cTypeColumn = cTypeTvfElementType.
Properties
[column.Name];
2483
if (sTypeTvfElementType.
Properties
.TryGetValue(columnName, false, out column))
2485
Debug.Assert(cTypeTvfElementType.
Properties
.Contains(columnName), "cTypeTvfElementType.Properties.Contains(columnName)");
2486
var cTypeColumn = cTypeTvfElementType.
Properties
[columnName];
System\Data\Mapping\Update\Internal\ExtractorMetadata.cs (5)
58
keyMembers = new Set<EdmMember>(((RowType)type).
Properties
).MakeReadOnly();
205
int keyMemberCount = keyRowType.
Properties
.Count;
208
for (int ordinal = 0; ordinal < keyRowType.
Properties
.Count; ordinal++)
210
EdmMember keyMember = keyRowType.
Properties
[ordinal];
214
int keyIdentifier = m_translator.KeyManager.GetKeyIdentifierForMemberOffset(entityKey, ordinal, keyRowType.
Properties
.Count);
System\Data\Metadata\Edm\TypeUsage.cs (2)
414
EdmProperty[] properties = new EdmProperty[sspaceRowType.
Properties
.Count];
417
EdmProperty sspaceProperty = sspaceRowType.
Properties
[i];
System\Data\Metadata\Helper.cs (1)
147
return ((RowType)edmType).
Properties
;
System\Data\Metadata\TypeHelpers.cs (4)
89
foreach (EdmProperty property in rowType.
Properties
)
141
foreach (EdmProperty property in rowType.
Properties
)
506
return (IBaseList<EdmMember>)((RowType)edmType).
Properties
;
561
return ((RowType)edmType).
Properties
;
System\Data\Metadata\TypeSemantics.cs (18)
190
return ((RowType)t.EdmType).
Properties
.Select(p => p.TypeUsage);
763
if (fromRowType.
Properties
.Count != toRowType.
Properties
.Count)
768
for (int i = 0; i < fromRowType.
Properties
.Count; i++)
770
if (!IsPromotableTo(fromRowType.
Properties
[i].TypeUsage, toRowType.
Properties
[i].TypeUsage))
934
if (rowType1.
Properties
.Count != rowType2.
Properties
.Count ||
943
for (int i = 0; i < rowType1.
Properties
.Count; i++)
946
if (!TryGetCommonType(rowType1.
Properties
[i].TypeUsage, rowType2.
Properties
[i].TypeUsage, out columnCommonTypeUsage))
952
commonProperties.Add(new EdmProperty(rowType1.
Properties
[i].Name, columnCommonTypeUsage));
1006
foreach (EdmProperty rowProperty in rowType.
Properties
)
1070
if (fromRow.
Properties
.Count != toRow.
Properties
.Count)
1077
for (int idx = 0; idx < fromRow.
Properties
.Count; idx++)
1079
EdmProperty fromProp = fromRow.
Properties
[idx];
1080
EdmProperty toProp = toRow.
Properties
[idx];
System\Data\Objects\ELinq\ExpressionConverter.cs (2)
1115
foreach (EdmMember member in rowType.
Properties
)
1211
foreach (EdmProperty property in leftType.
Properties
)
System\Data\Objects\ELinq\MethodCallTranslator.cs (6)
654
foreach (EdmProperty recColumn in rowType.
Properties
)
2560
CqtExpression projectRight = applyBinding.Variable.Property(applyRowType.
Properties
[1]);
2565
CqtExpression projectLeft = applyBinding.Variable.Property(applyRowType.
Properties
[0]);
2692
var lojRightValueSource = crossApplyInputRowType.
Properties
.SingleOrDefault(p => p.Name == lojRight.Property.Name);
2949
renames.Add(Tuple.Create((EdmProperty)rename.Property, outerRowType.
Properties
[i].Name));
2969
var innerPropertyIndex = innerRowType.
Properties
.IndexOf(rename.Item1);
System\Data\Objects\Internal\ObjectSpanRewriter.cs (6)
357
for(int idx = 0; idx < rowType.
Properties
.Count; idx++)
360
EdmProperty columnProp = rowType.
Properties
[idx];
408
List<DbExpression> columnArguments = new List<DbExpression>(rowType.
Properties
.Count);
409
List<EdmProperty> properties = new List<EdmProperty>(rowType.
Properties
.Count);
410
for (int idx = 0; idx < rowType.
Properties
.Count; idx++)
412
EdmProperty columnProp = rowType.
Properties
[idx];
System\Data\Query\InternalTrees\Command.cs (1)
331
return CreateFlatTableDefinition(type.
Properties
, new List<EdmMember>(), null);
System\Data\Query\InternalTrees\ScalarOps.cs (1)
1161
m_fields = new List<EdmProperty>(TypeHelpers.GetEdmType<RowType>(type).
Properties
);
System\Data\Query\PlanCompiler\CTreeGenerator.cs (1)
2161
properties = outputElementType.
Properties
.GetEnumerator();
System\Data\Query\PlanCompiler\NominalTypeEliminator.cs (13)
471
foreach (md.EdmProperty m in recordType.
Properties
)
714
foreach (var flattenedTypeProperty in unnestOpTableTypeInfo.FlattenedType.
Properties
)
974
PlanCompiler.Assert(typeInfo.RootType.FlattenedType.
Properties
.Count == varInfo.NewVars.Count,
975
"Var count mismatch; Expected " + typeInfo.RootType.FlattenedType.
Properties
.Count + "; got " + varInfo.NewVars.Count + " instead.");
1167
foreach (md.EdmProperty p in newRowType.
Properties
)
1428
newTableMetadata = m_command.CreateFlatTableDefinition(tvfReturnType.
Properties
, GetTvfResultKeys(processingTVF), null);
1453
typeInfo.FlattenedType.
Properties
.ToList<md.EdmProperty>());
2315
List<md.EdmProperty> outputFieldTypes = new List<md.EdmProperty>(outputTypeInfo.FlattenedType.
Properties
);
2448
List<md.EdmProperty> outputFields = new List<md.EdmProperty>(outputTypeInfo.FlattenedType.
Properties
);
2784
foreach (md.EdmProperty nestedProperty in nestedFlatType.
Properties
)
2791
newFields.Add(flatType.
Properties
[nestedPropertyOffset]);
2825
foreach (md.EdmProperty nestedProperty in nestedFlatType.
Properties
)
2832
newFields.Add(flatType.
Properties
[nestedPropertyOffset]);
System\Data\Query\PlanCompiler\ProviderCommandInfoUtils.cs (1)
109
IEnumerator<md.EdmProperty> propertyEnumerator = TypeHelpers.GetEdmType<md.RowType>(outputType).
Properties
.GetEnumerator();
System\Data\Query\PlanCompiler\StructuredTypeInfo.cs (1)
998
foreach (md.EdmProperty p in type.FlattenedType.
Properties
)
System\Data\Query\PlanCompiler\TypeInfo.cs (1)
382
foreach (md.EdmProperty m in this.FlattenedType.
Properties
)
System\Data\SqlClient\SqlGen\Sql8ExpressionRewriter.cs (1)
466
EdmProperty prop = rowExprType.
Properties
[column.Key];
System\Data\SqlClient\SqlGen\SqlGenerator.cs (2)
1457
using (IEnumerator<EdmProperty> members = groupByType.
Properties
.GetEnumerator())
3266
ReadOnlyMetadataCollection<EdmProperty> members = rowType.
Properties
;
System.Data.Entity.Design (4)
System\Data\Entity\Design\Common\MetadataItemSerializer.cs (1)
287
foreach (var property in rowType.
Properties
)
System\Data\Entity\Design\Common\OneToOneMappingSerializer.cs (1)
330
foreach (EdmProperty storeProperty in tvfReturnType.
Properties
)
System\Data\Entity\Design\EntityModelSchemaGenerator.cs (1)
579
foreach (EdmProperty storeProperty in tvfReturnType.
Properties
)
System\Data\Entity\Design\EntityStoreSchemaGenerator.cs (1)
1294
if (rowType.
Properties
.Count == 0)