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