43 references to CollectionType
System.Data.Entity (36)
System\Data\Common\CommandTrees\Internal\ExpressionCopier.cs (1)
123else if (BuiltInTypeKind.CollectionType == type.BuiltInTypeKind)
System\Data\Common\CommandTrees\Internal\ExpressionPrinter.cs (1)
756if (BuiltInTypeKind.CollectionType == e.ResultType.EdmType.BuiltInTypeKind)
System\Data\Common\EntitySql\CqlErrorHelper.cs (3)
145case BuiltInTypeKind.CollectionType: 243type.BuiltInTypeKind == BuiltInTypeKind.CollectionType || 264case BuiltInTypeKind.CollectionType:
System\Data\Common\Internal\Materialization\RecordStateFactory.cs (1)
120case BuiltInTypeKind.CollectionType:
System\Data\Common\Internal\Materialization\Translator.cs (2)
359case BuiltInTypeKind.CollectionType: 487case BuiltInTypeKind.CollectionType:
System\Data\Common\Utils\MetadataHelper.cs (2)
66&& returnParameter.TypeUsage.EdmType.BuiltInTypeKind == BuiltInTypeKind.CollectionType) 710if (BuiltInTypeKind.CollectionType == typeUsage.EdmType.BuiltInTypeKind)
System\Data\EntityClient\EntityCommandDefinition.cs (1)
192Debug.Assert(storeResultType.EdmType.BuiltInTypeKind == BuiltInTypeKind.CollectionType, "FunctionImport currently supports only collection result type");
System\Data\Mapping\BaseMetadataMappingVisitor.cs (1)
240case BuiltInTypeKind.CollectionType:
System\Data\Mapping\DefaultObjectMappingItemCollection.cs (2)
394BuiltInTypeKind.CollectionType != objectMap.ClrType.BuiltInTypeKind) 407BuiltInTypeKind.CollectionType != objectMap.EdmType.BuiltInTypeKind)
System\Data\Metadata\Edm\CollectionType.cs (2)
55public override BuiltInTypeKind BuiltInTypeKind { get { return BuiltInTypeKind.CollectionType; } } 96if (null == item || BuiltInTypeKind.CollectionType != item.BuiltInTypeKind) { return false; }
System\Data\Metadata\Edm\GlobalItem.cs (2)
52Debug.Assert(GetDataSpace() != (DataSpace)(-1) || this.BuiltInTypeKind == BuiltInTypeKind.RowType || this.BuiltInTypeKind == BuiltInTypeKind.CollectionType, "DataSpace must have some valid value"); 59Debug.Assert(GetDataSpace() == (DataSpace)(-1) || GetDataSpace() == value || this.BuiltInTypeKind == BuiltInTypeKind.RowType || this.BuiltInTypeKind == BuiltInTypeKind.CollectionType, "Invalid Value being set for DataSpace");
System\Data\Metadata\Edm\MetadataItem_Static.cs (3)
41_builtInTypes[(int)BuiltInTypeKind.CollectionType] = new ComplexType(); 124InitializeBuiltInTypes((ComplexType)GetBuiltInType(BuiltInTypeKind.CollectionType), 346AddBuiltInTypeProperties(BuiltInTypeKind.CollectionType,
System\Data\Metadata\EdmValidator.cs (1)
170case BuiltInTypeKind.CollectionType:
System\Data\Metadata\Helper.cs (1)
238return (BuiltInTypeKind.CollectionType == item.BuiltInTypeKind);
System\Data\Metadata\ObjectLayer\ObjectItemAttributeAssemblyLoader.cs (1)
536if (!TryGetLoadedType(propertyInfo.PropertyType, out propertyType) || !(propertyType.BuiltInTypeKind == BuiltInTypeKind.EntityType || propertyType.BuiltInTypeKind == BuiltInTypeKind.CollectionType))
System\Data\Metadata\TypeSemantics.cs (1)
1051if (fromType.EdmType.BuiltInTypeKind == BuiltInTypeKind.CollectionType)
System\Data\Objects\ELinq\ExpressionConverter.cs (2)
981if (BuiltInTypeKind.CollectionType == left.EdmType.BuiltInTypeKind && 982BuiltInTypeKind.CollectionType == right.EdmType.BuiltInTypeKind)
System\Data\Objects\ELinq\MethodCallTranslator.cs (2)
638case BuiltInTypeKind.CollectionType: 733case BuiltInTypeKind.CollectionType:
System\Data\Objects\ELinq\Translator.cs (1)
362if (BuiltInTypeKind.CollectionType == propertyExpression.ResultType.EdmType.BuiltInTypeKind)
System\Data\Objects\FieldDescriptor.cs (1)
70case BuiltInTypeKind.CollectionType:
System\Data\Objects\Internal\ObjectFullSpanRewriter.cs (1)
177else if (BuiltInTypeKind.CollectionType == resultType.EdmType.BuiltInTypeKind)
System\Data\Objects\Internal\ObjectQueryExecutionPlan.cs (2)
118if (treeResultType.EdmType.BuiltInTypeKind == BuiltInTypeKind.CollectionType) 197if (ResultType.EdmType.BuiltInTypeKind == BuiltInTypeKind.CollectionType)
System\Data\Objects\Internal\ObjectSpanRewriter.cs (1)
182case BuiltInTypeKind.CollectionType:
System\Data\Query\PlanCompiler\CTreeGenerator.cs (1)
1332PlanCompiler.Assert(expr.ResultType.EdmType.BuiltInTypeKind == BuiltInTypeKind.CollectionType,
System.Data.Entity.Design (5)
System\Data\Entity\Design\Common\MetadataItemSerializer.cs (3)
162bool collection = returnTypeUsage.EdmType.BuiltInTypeKind == BuiltInTypeKind.CollectionType; 219if (function.ReturnParameter.TypeUsage.EdmType.BuiltInTypeKind == BuiltInTypeKind.CollectionType) 782if (type.BuiltInTypeKind == BuiltInTypeKind.CollectionType)
System\Data\Entity\Design\Common\MetadataUtil.cs (1)
292return (BuiltInTypeKind.CollectionType == item.BuiltInTypeKind);
System\Data\Entity\Design\Common\OneToOneMappingSerializer.cs (1)
321Debug.Assert(functionImport.ReturnParameter.TypeUsage.EdmType.BuiltInTypeKind == BuiltInTypeKind.CollectionType, "functionImport is expected to return Collection(ComplexType)");
System.Data.Services (1)
System\Data\Services\Providers\ObjectContextServiceProvider.cs (1)
1427case BuiltInTypeKind.CollectionType:
System.Data.Services.Design (1)
System\Data\EntityModel\Emitters\ClientApiGenerator.cs (1)
27return (BuiltInTypeKind.CollectionType == item.BuiltInTypeKind);