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