14 instantiations of RowType
System.Data.Entity (14)
System\Data\Common\CommandTrees\Internal\ExpressionCopier.cs (1)
155retType = new RowType(mappedProps, rowType.InitializerMetadata);
System\Data\EntityModel\SchemaObjectModel\RowTypeElement.cs (1)
105RowType rowType = new RowType(listOfProperties);
System\Data\Mapping\DefaultObjectMappingItemCollection.cs (2)
311clrType = new RowType(clrProperties, ((RowType)cdmType).InitializerMetadata); 350cdmType = new RowType(cdmProperties, ((RowType)clrType).InitializerMetadata);
System\Data\Mapping\FunctionImportMappingNonComposable.cs (1)
227RowType rowType = new RowType(columns.Select(c => new EdmProperty(c.Key, c.Value)));
System\Data\Mapping\Update\Internal\UpdateTranslator.cs (1)
696RowType rowType = new RowType(properties);
System\Data\Metadata\Edm\EntityType.cs (1)
192Interlocked.CompareExchange<RowType>(ref _keyRow, new RowType(keyProperties), null);
System\Data\Metadata\Edm\TypeUsage.cs (1)
421RowType edmRowType = new RowType(properties, sspaceRowType.InitializerMetadata);
System\Data\Metadata\TypeHelpers.cs (1)
384return new RowType(rowElements, initializerMetadata);
System\Data\Metadata\TypeSemantics.cs (1)
955commonRowType = new RowType(commonProperties, rowType1.InitializerMetadata);
System\Data\Objects\ELinq\ExpressionConverter.cs (1)
1582RowType rowType = new RowType(properties, initializerMetadata);
System\Data\Objects\ELinq\MethodCallTranslator.cs (1)
2793RowType rowType = new RowType(properties, initializerMetadata);
System\Data\Objects\Internal\ObjectSpanRewriter.cs (1)
426RowType rewrittenRow = new RowType(properties, rowType.InitializerMetadata);
System\Data\Query\InternalTrees\ColumnMapFactory.cs (1)
197RowType rowType = new RowType(modelProperties, initMetadata);
192 references to RowType
System.Data.Entity (178)
System\Data\Common\CommandTrees\DefaultExpressionVisitor.cs (2)
971RowType groupOutput = 972TypeHelpers.GetEdmType<RowType>(TypeHelpers.GetEdmType<CollectionType>(expression.ResultType).TypeUsage);
System\Data\Common\CommandTrees\ExpressionBuilder\Internal\ArgumentValidation.cs (1)
1960foreach (EdmProperty prop in ((RowType)item).Properties)
System\Data\Common\CommandTrees\Internal\ExpressionCopier.cs (2)
134RowType rowType = (RowType)type;
System\Data\Common\CommandTrees\Internal\ExpressionPrinter.cs (5)
307RowType rowType = type.EdmType as RowType; 583if (prop != null && !(prop.DeclaringType is RowType)) 909RowType outputType = TypeHelpers.GetEdmType<RowType>(TypeHelpers.GetEdmType<CollectionType>(e.ResultType).TypeUsage);
System\Data\Common\CommandTrees\Internal\ViewSimplifier.cs (4)
441RowType resultRow = TypeHelpers.GetEdmType<RowType>(rowConstructor.ResultType); 640RowType innerResultType = (RowType)innerResultTypeUsage.EdmType;
System\Data\Common\EntitySql\CqlErrorHelper.cs (4)
116RowType leftRow = (RowType)leftType.EdmType; 117RowType rightRow = (RowType)rightType.EdmType;
System\Data\Common\EntitySql\SemanticAnalyzer.cs (6)
328foreach (EdmProperty property in ((RowType)resultType.EdmType).Properties) 1876RowType inputKeyRowType = keyRowExpression.ResultType.EdmType as RowType; 1882RowType entityKeyRowType = TypeHelpers.CreateKeyRowType(entitySet.ElementType); 2966RowType rowType = projectionType.EdmType as RowType;
System\Data\Common\Internal\Materialization\ColumnMapKeyBuilder.cs (1)
101Dictionary<int, AssociationEndMember> spanMap = _spanIndex.GetSpanMap((RowType)type);
System\Data\Common\Internal\Materialization\Translator.cs (7)
404InitializerMetadata initializerMetadata = ((RowType)edmType).InitializerMetadata; 500RowType rowType = (RowType)result; 1559RowType spanRowType = (RowType)columnMap.Type.EdmType; 1688private Expression HandleRegularRecord(RecordColumnMap columnMap, TranslatorArg arg, RowType spanRowType) 1724private Expression HandleSpandexRecord(RecordColumnMap columnMap, TranslatorArg arg, RowType spanRowType)
System\Data\EntityModel\SchemaObjectModel\RowTypeElement.cs (1)
105RowType rowType = new RowType(listOfProperties);
System\Data\Mapping\DefaultObjectMappingItemCollection.cs (8)
274RowType clrRowType = (RowType)clrType; 275RowType edmRowType = (RowType)cdmType; 305foreach (EdmProperty column in ((RowType)cdmType).Properties) 311clrType = new RowType(clrProperties, ((RowType)cdmType).InitializerMetadata); 344foreach (EdmProperty column in ((RowType)clrType).Properties) 350cdmType = new RowType(cdmProperties, ((RowType)clrType).InitializerMetadata);
System\Data\Mapping\FunctionImportMappingComposable.cs (4)
427var rowType = (RowType)row.ResultType.EdmType; 447var rowType = (RowType)collectionType.TypeUsage.EdmType;
System\Data\Mapping\FunctionImportMappingNonComposable.cs (1)
227RowType rowType = new RowType(columns.Select(c => new EdmProperty(c.Key, c.Value)));
System\Data\Mapping\StorageMappingItemLoader.cs (10)
1592var cTypeTvfElementType = System.Data.Common.TypeHelpers.GetTvfReturnType(cTypeTargetFunction); 1593var sTypeTvfElementType = System.Data.Common.TypeHelpers.GetTvfReturnType(targetFunction); 2082RowType cTypeTvfElementType, 2083RowType sTypeTvfElementType, 2262RowType cTypeTvfElementType, 2263RowType sTypeTvfElementType, 2355RowType cTypeTvfElementType, 2356RowType sTypeTvfElementType, 2440RowType cTypeTvfElementType, 2441RowType sTypeTvfElementType,
System\Data\Mapping\Update\Internal\ExtractorMetadata.cs (2)
58keyMembers = new Set<EdmMember>(((RowType)type).Properties).MakeReadOnly(); 202RowType keyRowType = entityType.GetKeyRowType(m_translator.MetadataWorkspace);
System\Data\Mapping\Update\Internal\Propagator.ExtentPlaceholderCreator.cs (1)
183RowType endType = entityType.GetKeyRowType(m_parent.MetadataWorkspace);
System\Data\Mapping\Update\Internal\UpdateTranslator.cs (1)
696RowType rowType = new RowType(properties);
System\Data\Metadata\Edm\EntityType.cs (3)
74private RowType _keyRow; 183internal RowType GetKeyRowType(MetadataWorkspace metadataWorkspace) 192Interlocked.CompareExchange<RowType>(ref _keyRow, new RowType(keyProperties), null);
System\Data\Metadata\Edm\RowType.cs (2)
205RowType other = (RowType)item;
System\Data\Metadata\Edm\TypeUsage.cs (3)
413RowType sspaceRowType = (RowType)edmType; 421RowType edmRowType = new RowType(properties, sspaceRowType.InitializerMetadata);
System\Data\Metadata\Helper.cs (1)
147return ((RowType)edmType).Properties;
System\Data\Metadata\TypeHelpers.cs (12)
88RowType rowType = (RowType)typeUsage.EdmType; 140RowType rowType = (RowType)typeUsage.EdmType; 372internal static RowType CreateRowType(IEnumerable<KeyValuePair<string, TypeUsage>> columns) 377internal static RowType CreateRowType(IEnumerable<KeyValuePair<string, TypeUsage>> columns, InitializerMetadata initializerMetadata) 407internal static RowType CreateKeyRowType(EntityTypeBase entityType) 506return (IBaseList<EdmMember>)((RowType)edmType).Properties; 538return ((RowType)edmType).GetDeclaredOnlyMembers<EdmProperty>(); 561return ((RowType)edmType).Properties; 584internal static RowType GetTvfReturnType(EdmFunction tvf) 591return (RowType)expectedElementTypeUsage.EdmType;
System\Data\Metadata\TypeSemantics.cs (15)
167return IsPromotableTo((RowType)fromType.EdmType, 168(RowType)toType.EdmType); 190return ((RowType)t.EdmType).Properties.Select(p => p.TypeUsage); 759private static bool IsPromotableTo(RowType fromRowType, RowType toRowType) 837return TryGetCommonType((RowType)edmType1, 838(RowType)edmType2, 932private static bool TryGetCommonType(RowType rowType1, RowType rowType2, out EdmType commonRowType) 1005RowType rowType = (RowType)edmType; 1066RowType fromRow = (RowType)fromType.EdmType; 1067RowType toRow = (RowType)toType.EdmType;
System\Data\Objects\DataRecordObjectView.cs (3)
37private RowType _rowType; 39internal DataRecordObjectView(IObjectViewData<DbDataRecord> viewData, object eventDataSource, RowType rowType, Type propertyComponentType) 161propertyDescriptors = MaterializedDataRecord.CreatePropertyDescriptorCollection((RowType)fieldDescriptor.EdmProperty.TypeUsage.EdmType, typeof(IDataRecord), true);
System\Data\Objects\ELinq\ExpressionConverter.cs (7)
1088VerifyRowTypeSupportedForComparison(clrType, (RowType)edmType.EdmType, memberPath); 1113private static void VerifyRowTypeSupportedForComparison(Type clrType, RowType rowType, Stack<EdmMember> memberPath) 1202RowType leftType = left.ResultType.EdmType as RowType; 1203RowType rightType = left.ResultType.EdmType as RowType; 1582RowType rowType = new RowType(properties, initializerMetadata);
System\Data\Objects\ELinq\InitializerFacet.cs (1)
54initializerMetadata = ((RowType)typeUsage.EdmType).InitializerMetadata;
System\Data\Objects\ELinq\MethodCallTranslator.cs (11)
651RowType rowType = argumentExpr.ResultType.EdmType as RowType; 2559RowType applyRowType = (RowType)(applyBinding.Variable.ResultType.EdmType); 2621var crossApplyInputRowType = (RowType)crossApply.Input.VariableType.EdmType; 2793RowType rowType = new RowType(properties, initializerMetadata); 2934var outerRowType = (RowType)projection.ResultType.EdmType; 2964var innerRowType = (RowType)innerProjection.ResultType.EdmType;
System\Data\Objects\ELinq\Translator.cs (2)
287RowType rowType = definingType.EdmType as RowType;
System\Data\Objects\Internal\ObjectSpanRewriter.cs (7)
186return RewriteRow(expression, (RowType)expression.ResultType.EdmType); 195private void AddSpannedRowType(RowType spannedType, TypeUsage originalType) 205private void AddSpanMap(RowType rowType, Dictionary<int, AssociationEndMember> columnMap) 307RowType spanRowType = (RowType)spannedExpression.ResultType.EdmType; 336private DbExpression RewriteRow(DbExpression expression, RowType rowType) 426RowType rewrittenRow = new RowType(properties, rowType.InitializerMetadata);
System\Data\Objects\ObjectViewFactory.cs (4)
108objectView = new DataRecordObjectView(viewData, eventDataSource, (RowType)ospaceElementTypeUsage.EdmType, typeof(TElement)); 308/// Null is returned in the case where <paramref name="ospaceEdmType"/> is a <see cref="RowType"/>, 322RowType itemRowType = (RowType)ospaceEdmType;
System\Data\Objects\SpanIndex.cs (13)
31sealed private class RowTypeEqualityComparer : IEqualityComparer<RowType> 38public bool Equals(RowType x, RowType y) 48public int GetHashCode(RowType obj) 60private Dictionary<RowType, Dictionary<int, AssociationEndMember>> _spanMap; 64private Dictionary<RowType, TypeUsage> _rowMap; 70internal void AddSpannedRowType(RowType spannedRowType, TypeUsage originalRowType) 78_rowMap = new Dictionary<RowType, TypeUsage>(RowTypeEqualityComparer.Instance); 84internal TypeUsage GetSpannedRowType(RowType spannedRowType) 94internal bool HasSpanMap(RowType spanRowType) 105internal void AddSpanMap(RowType rowType, Dictionary<int, AssociationEndMember> columnMap) 112_spanMap = new Dictionary<RowType, Dictionary<int, AssociationEndMember>>(RowTypeEqualityComparer.Instance); 118internal Dictionary<int, AssociationEndMember> GetSpanMap(RowType rowType)
System\Data\Query\InternalTrees\ColumnMapFactory.cs (1)
197RowType rowType = new RowType(modelProperties, initMetadata);
System\Data\Query\InternalTrees\Command.cs (2)
329internal TableMD CreateFlatTableDefinition(RowType type) 872internal NewRecordOp CreateNewRecordOp(RowType type)
System\Data\Query\InternalTrees\ScalarOps.cs (1)
1161m_fields = new List<EdmProperty>(TypeHelpers.GetEdmType<RowType>(type).Properties);
System\Data\Query\PlanCompiler\ColumnMapProcessor.cs (1)
406PlanCompiler.Assert(typeInfo.Type.EdmType is md.RowType, "not RowType");
System\Data\Query\PlanCompiler\CTreeGenerator.cs (2)
2158RowType outputElementType = null; 2159if (TypeHelpers.TryGetEdmType<RowType>(outputType.TypeUsage, out outputElementType))
System\Data\Query\PlanCompiler\ITreeGenerator.cs (3)
339private static RowType ExtractElementRowType(TypeUsage typeUsage) 341return TypeHelpers.GetEdmType<RowType>(TypeHelpers.GetEdmType<CollectionType>(typeUsage).TypeUsage); 940private Node ProjectNewRecord(Node inputNode, RowType recType, IEnumerable<Var> colVars)
System\Data\Query\PlanCompiler\NominalTypeEliminator.cs (9)
463md.RowType recordType = null; 464if (TypeHelpers.TryGetEdmType<md.RowType>(currentType, out recordType)) 701md.RowType originalRowType = unnestOpTableTypeInfo.Type.EdmType as md.RowType; 1158md.RowType newRowType = typeInfo.FlattenedType; 1426md.RowType tvfReturnType = TypeHelpers.GetTvfReturnType(processingTVF); 2689md.RowType flatType = typeInfo.FlattenedType; 2779md.RowType nestedFlatType = m_typeInfo.GetTypeInfo(md.Helper.GetModelTypeUsage(opField)).FlattenedType; 2820md.RowType nestedFlatType = m_typeInfo.GetTypeInfo(relProp.ToEnd.TypeUsage).FlattenedType;
System\Data\Query\PlanCompiler\ProviderCommandInfoUtils.cs (1)
109IEnumerator<md.EdmProperty> propertyEnumerator = TypeHelpers.GetEdmType<md.RowType>(outputType).Properties.GetEnumerator();
System\Data\Query\PlanCompiler\TypeInfo.cs (3)
196internal virtual md.RowType FlattenedType 428private md.RowType m_flattenedType; 509internal new md.RowType FlattenedType
System\Data\Query\PlanCompiler\VarInfo.cs (5)
118md.RowType m_newType; 128internal StructuredVarInfo(md.RowType newType, List<Var> newVars, List<md.EdmProperty> newTypeProperties, bool newVarsIncludeNullSentinelVar) 191internal md.RowType NewType { get { return m_newType; } } 275internal VarInfo CreateStructuredVarInfo(Var v, md.RowType newType, List<Var> newVars, List<md.EdmProperty> newProperties, bool newVarsIncludeNullSentinelVar) 289internal VarInfo CreateStructuredVarInfo(Var v, md.RowType newType, List<Var> newVars, List<md.EdmProperty> newProperties)
System\Data\SqlClient\SqlGen\Sql8ExpressionRewriter.cs (2)
462RowType rowExprType = (RowType)rowExpr.ResultType.EdmType;
System\Data\SqlClient\SqlGen\SqlGenerator.cs (4)
1438RowType groupByType = TypeHelpers.GetEdmType<RowType>(TypeHelpers.GetEdmType<CollectionType>(e.ResultType).TypeUsage); 3260RowType rowType = e.ResultType.EdmType as RowType;
System.Data.Entity.Design (13)
System\Data\Entity\Design\Common\MetadataItemSerializer.cs (4)
145WriteRowTypeElement((RowType)type); 224var rowType = (RowType)elementType; 284private void WriteRowTypeElement(RowType rowType)
System\Data\Entity\Design\Common\OneToOneMappingSerializer.cs (1)
317RowType tvfReturnType = TypeHelpers.GetTvfReturnType(storeFunction);
System\Data\Entity\Design\EntityModelSchemaGenerator.cs (2)
510RowType tvfReturnType = TypeHelpers.GetTvfReturnType(storeFunction); 567private ComplexType CreateModelComplexTypeForTvfResult(LoadMethodSessionState session, string functionImportName, RowType tvfReturnType)
System\Data\Entity\Design\EntityStoreSchemaGenerator.cs (2)
575RowType tvfReturnType; 1291var rowType = new RowType(properties);
System\Data\Entity\Design\EntityStoreSchemaGenerator\EntityStoreSchemaGenerator.LoadMethodSessionState.cs (4)
40private Dictionary<DbObjectKey, RowType> _tvfReturnTypeLookup = new Dictionary<DbObjectKey, RowType>(); 124public void AddTvfReturnType(DbObjectKey key, RowType type) 129public bool TryGetTvfReturnType(DbObjectKey key, out RowType type)
System.Web.Entity (1)
System\Data\WebControls\EntityDataSourceUtil.cs (1)
64members = ((RowType)(tu.EdmType)).Members;