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