17 references to ReadOnlyMetadataCollection
System.Data.Entity (17)
System\Data\Metadata\Edm\AssociationSet.cs (1)
36
new
ReadOnlyMetadataCollection
<AssociationSetEnd>(new MetadataCollection<AssociationSetEnd>());
System\Data\Metadata\Edm\AssociationType.cs (1)
38
_referentialConstraints = new
ReadOnlyMetadataCollection
<ReferentialConstraint>(new MetadataCollection<ReferentialConstraint>());
System\Data\Metadata\Edm\EdmFunction.cs (4)
37
_returnParameters = new
ReadOnlyMetadataCollection
<FunctionParameter>(
63
_entitySets = new
ReadOnlyMetadataCollection
<EntitySet>(payload.EntitySets);
73
_entitySets = new
ReadOnlyMetadataCollection
<EntitySet>(list);
98
_parameters = new
ReadOnlyMetadataCollection
<FunctionParameter>(new MetadataCollection<FunctionParameter>());
System\Data\Metadata\Edm\EntityContainer.cs (2)
37
_baseEntitySets = new
ReadOnlyMetadataCollection
<EntitySetBase>(new EntitySetBaseCollection(this));
38
_functionImports = new
ReadOnlyMetadataCollection
<EdmFunction>(new MetadataCollection<EdmFunction>());
System\Data\Metadata\Edm\EntityTypeBase.cs (1)
32
_keyMembers = new
ReadOnlyMetadataCollection
<EdmMember>(new MetadataCollection<EdmMember>());
System\Data\Metadata\Edm\EnumType.cs (1)
27
new
ReadOnlyMetadataCollection
<EnumMember>(new MetadataCollection<EnumMember>());
System\Data\Metadata\Edm\FilteredReadOnlyMetadataCollection.cs (1)
49
internal FilteredReadOnlyMetadataCollection(ReadOnlyMetadataCollection<TBase> collection, Predicate<TBase> predicate) :
base
(FilterCollection(collection, predicate))
System\Data\Metadata\Edm\ItemCollection.cs (1)
34
:
base
(new MetadataCollection<GlobalItem>())
System\Data\Metadata\Edm\MetadataCollection.cs (1)
123
return new
ReadOnlyMetadataCollection
<T>(this);
System\Data\Metadata\Edm\ReferentialConstraint.cs (2)
37
_fromProperties = new
ReadOnlyMetadataCollection
<EdmProperty>(new MetadataCollection<EdmProperty>(
39
_toProperties = new
ReadOnlyMetadataCollection
<EdmProperty>(new MetadataCollection<EdmProperty>(
System\Data\Metadata\Edm\SafeLinkCollection.cs (1)
28
:
base
((IList<TChild>)SafeLink<TParent>.BindChildren(parent, getLink, children))
System\Data\Metadata\TypeHelpers.cs (1)
544
internal static readonly ReadOnlyMetadataCollection<EdmMember> EmptyArrayEdmMember = new
ReadOnlyMetadataCollection
<EdmMember>(new MetadataCollection<EdmMember>().SetReadOnly());