45 references to None
System.Data.Entity (26)
System\Data\EntityModel\SchemaObjectModel\EntityKeyElement.cs (1)
122
if (!(property.Type is ScalarType || property.Type is SchemaEnumType) || (property.CollectionKind != CollectionKind.
None
))
System\Data\EntityModel\SchemaObjectModel\Function.cs (4)
39
private CollectionKind _returnTypeCollectionKind = CollectionKind.
None
;
93
Debug.Assert(colKind == CollectionKind.
None
, "Unexpected CollectionKind");
464
else if (Parameters.GetElementAt(0).CollectionKind == CollectionKind.
None
)
512
if (_type != null && (_type is ScalarType == false || _returnTypeCollectionKind != Metadata.Edm.CollectionKind.
None
))
System\Data\EntityModel\SchemaObjectModel\FunctionImportElement.cs (4)
159
if (p.IsRefType || p.CollectionKind != Metadata.Edm.CollectionKind.
None
)
197
if (type is ScalarType && returnTypeCollectionKind == CollectionKind.
None
) return true;
198
if (type is SchemaEntityType && returnTypeCollectionKind == CollectionKind.
None
) return true;
199
if (type is SchemaComplexType && returnTypeCollectionKind == CollectionKind.
None
) return true;
System\Data\EntityModel\SchemaObjectModel\ModelFunction.cs (1)
54
else if (CollectionKind != CollectionKind.
None
)
System\Data\EntityModel\SchemaObjectModel\Parameter.cs (4)
30
private CollectionKind _collectionKind = CollectionKind.
None
;
87
else if (CollectionKind != CollectionKind.
None
)
114
if (_collectionKind != CollectionKind.
None
)
380
if (_type != null && (_type is ScalarType == false || (!collectionAllowed && _collectionKind != CollectionKind.
None
)))
System\Data\EntityModel\SchemaObjectModel\ReturnType.cs (4)
24
private CollectionKind _collectionKind = CollectionKind.
None
;
86
else if (_collectionKind != CollectionKind.
None
)
310
if (_type != null && (_type is ScalarType == false || _collectionKind != CollectionKind.
None
) ||
336
if (_type is ScalarType == false || _collectionKind != CollectionKind.
None
)
System\Data\EntityModel\SchemaObjectModel\RowTypePropertyElement.cs (4)
26
private CollectionKind _collectionKind = CollectionKind.
None
;
157
if (_collectionKind != CollectionKind.
None
)
226
if (_collectionKind != CollectionKind.
None
)
245
if (_type is ScalarType == false || _isRefType || _collectionKind != CollectionKind.
None
)
System\Data\EntityModel\SchemaObjectModel\StructuredProperty.cs (2)
31
private CollectionKind _collectionKind = CollectionKind.
None
;
285
_collectionKind = CollectionKind.
None
;
System\Data\Metadata\Converter.cs (2)
740
if (somProperty.CollectionKind != CollectionKind.
None
)
1212
if (collectionKind != CollectionKind.
None
)
System.Data.Entity.Design (11)
System\Data\EntityModel\Emitters\PropertyEmitter.cs (11)
237
if (GetCollectionKind(Item.TypeUsage) == CollectionKind.
None
)
336
EmitScalarTypePropertySetStatements(statements, CollectionKind.
None
);
341
EmitComplexTypePropertySetStatements(statements, CollectionKind.
None
);
461
if (collectionKind == CollectionKind.
None
)
519
if (collectionKind == CollectionKind.
None
)
625
return CollectionKind.
None
;
801
: this(typeReference, primitiveType, CollectionKind.
None
)
808
if (collectionKind == CollectionKind.
None
)
849
Debug.Assert(collectionKind == CollectionKind.
None
, "Was another CollectionKind value added");
856
: this(typeReference, complexType, CollectionKind.
None
, generator)
937
if (Helper.IsCollectionType(Item.TypeUsage.EdmType) && GetCollectionKind(Item.TypeUsage) != CollectionKind.
None
)
System.Data.Services.Design (8)
System\Data\EntityModel\Emitters\PropertyEmitter.cs (8)
237
if (GetCollectionKind(Item.TypeUsage) == CollectionKind.
None
)
366
if (GetCollectionKind(Item.TypeUsage) == CollectionKind.
None
)
550
return CollectionKind.
None
;
724
: this(typeReference, primitiveType, CollectionKind.
None
)
731
if (collectionKind == CollectionKind.
None
)
772
Debug.Assert(collectionKind == CollectionKind.
None
, "Was another CollectionKind value added");
779
: this(typeReference, complexType, CollectionKind.
None
, generator)
862
if (Helper.IsCollectionType(Item.TypeUsage.EdmType) && GetCollectionKind(Item.TypeUsage) != CollectionKind.
None
)