Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CollectionKind Enumeration

CollectionKind Enumeration

Represents an enumeration that specifies the kind of the collection that is applied to the properties in the conceptual schema definition language (CSDL) files. You can apply this to the properties of any type.

Namespace:  System.Data.Metadata.Edm
Assembly:  System.Data.Entity (in System.Data.Entity.dll)

public enum CollectionKind

Member nameDescription
BagThe collection has bag semantics. The items are unordered and duplicates are acceptable.
ListThe collection has list semantics. The order of the items is deterministic and duplicates are acceptable.
NoneThe property is not a collection.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5 SP1

.NET Framework Client Profile

Supported in: 4
© 2015 Microsoft