3 types derived from ReadOnlyMetadataCollection
System.Data.Entity (3)
System\Data\Metadata\Edm\FilteredReadOnlyMetadataCollection.cs (1)
38
internal class FilteredReadOnlyMetadataCollection<TDerived, TBase> :
ReadOnlyMetadataCollection
<TDerived>, IBaseList<TBase>
System\Data\Metadata\Edm\ItemCollection.cs (1)
27
public abstract class ItemCollection :
ReadOnlyMetadataCollection
<GlobalItem>
System\Data\Metadata\Edm\SafeLinkCollection.cs (1)
25
internal class SafeLinkCollection<TParent, TChild> :
ReadOnlyMetadataCollection
<TChild> where TChild : MetadataItem where TParent : class
14 instantiations of ReadOnlyMetadataCollection
System.Data.Entity (14)
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\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\TypeHelpers.cs (1)
544
internal static readonly ReadOnlyMetadataCollection<EdmMember> EmptyArrayEdmMember = new
ReadOnlyMetadataCollection
<EdmMember>(new MetadataCollection<EdmMember>().SetReadOnly());
121 references to ReadOnlyMetadataCollection
System.Data.Entity (102)
System\Data\Common\Internal\Materialization\Translator.cs (1)
1353
private List<MemberBinding> CreatePropertyBindings(StructuredColumnMap columnMap, Type clrType,
ReadOnlyMetadataCollection
<EdmProperty> properties)
System\Data\Common\Utils\MetadataHelper.cs (2)
242
ReadOnlyMetadataCollection
<EdmMember> members = endMember.DeclaringType.Members;
623
ReadOnlyMetadataCollection
<EntitySetBase> baseEntitySets = entityContainer.BaseEntitySets;
System\Data\EntityKey.cs (1)
1005
ReadOnlyMetadataCollection
<EdmMember> keyMembers = ((EntitySetBase)entitySet).ElementType.KeyMembers;
System\Data\Mapping\StorageMappingItemLoader.cs (5)
2833
private StorageScalarPropertyMapping LoadScalarPropertyMapping(XPathNavigator nav, EdmType containerType,
ReadOnlyMetadataCollection
<EdmProperty> tableProperties)
2905
private StorageComplexPropertyMapping LoadComplexPropertyMapping(XPathNavigator nav, EdmType containerType,
ReadOnlyMetadataCollection
<EdmProperty> tableProperties)
3005
private StorageComplexTypeMapping LoadComplexTypeMapping(XPathNavigator nav, EdmType type,
ReadOnlyMetadataCollection
<EdmProperty> tableType)
3180
private StorageConditionPropertyMapping LoadConditionPropertyMapping(XPathNavigator nav, EdmType containerType,
ReadOnlyMetadataCollection
<EdmProperty> tableProperties)
3678
ReadOnlyMetadataCollection
<Facet> facets = typeUsage.Facets;
System\Data\Mapping\StorageModificationFunctionMapping.cs (1)
210
ReadOnlyMetadataCollection
<ReferentialConstraint> constraints = assocationSet.ElementType.ReferentialConstraints;
System\Data\Mapping\Update\Internal\AssociationSetMetadata.cs (1)
58
var
ends = associationSet.AssociationSetEnds;
System\Data\Mapping\Update\Internal\KeyManager.cs (1)
307
var
keyMembers = addedEntry.EntitySet.ElementType.KeyMembers;
System\Data\Mapping\Update\Internal\Propagator.ExtentPlaceholderCreator.cs (2)
142
ReadOnlyMetadataCollection
<EdmProperty> members = entitySet.ElementType.Properties;
165
var
endMetadata = associationSet.ElementType.AssociationEndMembers;
System\Data\Mapping\Update\Internal\RelationshipConstraintValidator.cs (2)
88
var
ends = associationSet.AssociationSetEnds;
154
var
ends = associationSet.AssociationSetEnds;
System\Data\Mapping\Update\Internal\UpdateCommandOrderer.cs (1)
101
var
ends = associationSet.AssociationSetEnds;
System\Data\Mapping\Update\Internal\UpdateTranslator.cs (2)
182
using (
ReadOnlyMetadataCollection
<EdmProperty>.Enumerator principalPropertyEnum = constraint.FromProperties.GetEnumerator())
183
using (
ReadOnlyMetadataCollection
<EdmProperty>.Enumerator dependentPropertyEnum = constraint.ToProperties.GetEnumerator())
System\Data\Mapping\ViewGeneration\BasicViewGenerator.cs (2)
447
var
pkColumns = pkFkInfo.Item2.ToRole.GetEntityType().KeyMembers;
448
var
fkColumns = pkFkInfo.Item2.ToProperties;
System\Data\Mapping\ViewGeneration\Structures\MemberPath.cs (2)
728
ReadOnlyMetadataCollection
<EdmProperty> properties0 = isFrom0 ? constraint.FromProperties : constraint.ToProperties;
729
ReadOnlyMetadataCollection
<EdmProperty> properties1 = isFrom0 ? constraint.ToProperties : constraint.FromProperties;
System\Data\Mapping\ViewGeneration\Validation\ForeignConstraint.cs (3)
34
ReadOnlyMetadataCollection
<EdmProperty> i_parentColumns,
ReadOnlyMetadataCollection
<EdmProperty> i_childColumns)
410
private Set<int> GetPropertyIndexes(IEnumerable<EdmProperty> properties1,
ReadOnlyMetadataCollection
<EdmProperty> properties2)
System\Data\Metadata\Edm\AssociationSet.cs (2)
35
private readonly
ReadOnlyMetadataCollection
<AssociationSetEnd> _associationSetEnds =
55
public
ReadOnlyMetadataCollection
<AssociationSetEnd> AssociationSetEnds
System\Data\Metadata\Edm\AssociationType.cs (3)
44
private readonly
ReadOnlyMetadataCollection
<ReferentialConstraint> _referentialConstraints;
58
public
ReadOnlyMetadataCollection
<AssociationEndMember> AssociationEndMembers
77
public
ReadOnlyMetadataCollection
<ReferentialConstraint> ReferentialConstraints
System\Data\Metadata\Edm\ComplexType.cs (2)
47
private
ReadOnlyMetadataCollection
<EdmProperty> _properties;
62
public
ReadOnlyMetadataCollection
<EdmProperty> Properties
System\Data\Metadata\Edm\EdmFunction.cs (6)
105
private readonly
ReadOnlyMetadataCollection
<FunctionParameter> _returnParameters;
106
private readonly
ReadOnlyMetadataCollection
<FunctionParameter> _parameters;
112
private readonly
ReadOnlyMetadataCollection
<EntitySet> _entitySets;
136
public
ReadOnlyMetadataCollection
<FunctionParameter> Parameters
174
internal
ReadOnlyMetadataCollection
<EntitySet> EntitySets
198
public
ReadOnlyMetadataCollection
<FunctionParameter> ReturnParameters
System\Data\Metadata\Edm\EntityContainer.cs (4)
44
private readonly
ReadOnlyMetadataCollection
<EntitySetBase> _baseEntitySets;
45
private readonly
ReadOnlyMetadataCollection
<EdmFunction> _functionImports;
81
public
ReadOnlyMetadataCollection
<EntitySetBase> BaseEntitySets
93
public
ReadOnlyMetadataCollection
<EdmFunction> FunctionImports
System\Data\Metadata\Edm\EntityType.cs (4)
73
private
ReadOnlyMetadataCollection
<EdmProperty> _properties;
140
public
ReadOnlyMetadataCollection
<NavigationProperty> NavigationProperties
145
((
ReadOnlyMetadataCollection
<EdmMember>)this.Members), Helper.IsNavigationProperty);
153
public
ReadOnlyMetadataCollection
<EdmProperty> Properties
System\Data\Metadata\Edm\EntityTypeBase.cs (2)
37
private readonly
ReadOnlyMetadataCollection
<EdmMember> _keyMembers;
46
public
ReadOnlyMetadataCollection
<EdmMember> KeyMembers
System\Data\Metadata\Edm\EnumType.cs (2)
26
private readonly
ReadOnlyMetadataCollection
<EnumMember> _members =
122
public
ReadOnlyMetadataCollection
<EnumMember> Members
System\Data\Metadata\Edm\FilteredReadOnlyMetadataCollection.cs (3)
49
internal FilteredReadOnlyMetadataCollection(
ReadOnlyMetadataCollection
<TBase> collection, Predicate<TBase> predicate) : base(FilterCollection(collection, predicate))
61
private readonly
ReadOnlyMetadataCollection
<TBase> _source;
149
internal static List<TDerived> FilterCollection(
ReadOnlyMetadataCollection
<TBase> collection, Predicate<TBase> predicate)
System\Data\Metadata\Edm\MemberCollection.cs (1)
282
internal
ReadOnlyMetadataCollection
<T> GetDeclaredOnlyMembers<T>() where T : EdmMember
System\Data\Metadata\Edm\MetadataCollection.cs (3)
121
public virtual
ReadOnlyMetadataCollection
<T> AsReadOnlyMetadataCollection()
594
public
ReadOnlyMetadataCollection
<T>.Enumerator GetEnumerator()
596
return new
ReadOnlyMetadataCollection
<T>.Enumerator(this);
System\Data\Metadata\Edm\MetadataItem.cs (1)
87
public
ReadOnlyMetadataCollection
<MetadataProperty> MetadataProperties
System\Data\Metadata\Edm\NavigationProperty.cs (1)
155
var
keyMembers = rc.FromRole.GetEntityType().KeyMembers;
System\Data\Metadata\Edm\ReferentialConstraint.cs (4)
47
private readonly
ReadOnlyMetadataCollection
<EdmProperty> _fromProperties;
48
private readonly
ReadOnlyMetadataCollection
<EdmProperty> _toProperties;
100
public
ReadOnlyMetadataCollection
<EdmProperty> FromProperties
112
public
ReadOnlyMetadataCollection
<EdmProperty> ToProperties
System\Data\Metadata\Edm\RelationshipType.cs (2)
22
private
ReadOnlyMetadataCollection
<RelationshipEndMember> _relationshipEndMembers;
45
public
ReadOnlyMetadataCollection
<RelationshipEndMember> RelationshipEndMembers
System\Data\Metadata\Edm\RowType.cs (2)
25
private
ReadOnlyMetadataCollection
<EdmProperty> _properties;
86
public
ReadOnlyMetadataCollection
<EdmProperty> Properties
System\Data\Metadata\Edm\StructuralType.cs (3)
50
private readonly
ReadOnlyMetadataCollection
<EdmMember> _readOnlyMembers;
59
public
ReadOnlyMetadataCollection
<EdmMember> Members
73
internal
ReadOnlyMetadataCollection
<T> GetDeclaredOnlyMembers<T>() where T : EdmMember
System\Data\Metadata\Edm\TypeUsage.cs (2)
327
private
ReadOnlyMetadataCollection
<Facet> _facets;
377
public
ReadOnlyMetadataCollection
<Facet> Facets
System\Data\Metadata\TypeHelpers.cs (3)
544
internal static readonly
ReadOnlyMetadataCollection
<EdmMember> EmptyArrayEdmMember = new ReadOnlyMetadataCollection<EdmMember>(new MetadataCollection<EdmMember>().SetReadOnly());
547
internal static
ReadOnlyMetadataCollection
<EdmProperty> GetProperties(TypeUsage typeUsage)
552
internal static
ReadOnlyMetadataCollection
<EdmProperty> GetProperties(EdmType edmType)
System\Data\Objects\DataClasses\EntityReference.cs (1)
483
var
principalProps = constraint.FromProperties;
System\Data\Objects\DataClasses\RelatedEnd.cs (3)
418
var
principalProps = fkConstraint.FromProperties;
419
var
dependentProps = fkConstraint.ToProperties;
1542
static internal bool CheckIfAllPropertiesAreKeyProperties(string[] keyMemberNames,
ReadOnlyMetadataCollection
<EdmProperty> toProperties)
System\Data\Objects\EntityEntry.cs (3)
2132
ReadOnlyMetadataCollection
<NavigationProperty> navigationProperties =
2252
ReadOnlyMetadataCollection
<NavigationProperty> navigationProperties =
3843
var
setEnds = associationSet.AssociationSetEnds;
System\Data\Objects\Internal\ForeignKeyFactory.cs (2)
98
var
dependentProps = constraint.ToProperties;
117
var
principalProps = constraint.FromProperties;
System\Data\Objects\NextResultGenerator.cs (2)
23
ReadOnlyMetadataCollection
<EntitySet> _entitySets;
29
internal NextResultGenerator(ObjectContext context, EntityCommand entityCommand, EdmType[] edmTypes,
ReadOnlyMetadataCollection
<EntitySet> entitySets, MergeOption mergeOption, int resultSetIndex)
System\Data\Objects\ObjectContext.cs (3)
2512
ReadOnlyMetadataCollection
<EdmMember> keyMembers = entitySet.ElementType.KeyMembers;
2673
private ObjectResult<TElement> CreateFunctionObjectResult<TElement>(EntityCommand entityCommand,
ReadOnlyMetadataCollection
<EntitySet> entitySets, EdmType[] edmTypes, MergeOption mergeOption)
2702
internal ObjectResult<TElement> MaterializedDataRecord<TElement>(EntityCommand entityCommand, DbDataReader storeReader, int resultSetIndex,
ReadOnlyMetadataCollection
<EntitySet> entitySets, EdmType[] edmTypes, MergeOption mergeOption)
System\Data\Objects\ObjectStateManager.cs (2)
1381
ReadOnlyMetadataCollection
<AssociationEndMember> endMembers = relationshipEntry.RelationshipWrapper.AssociationEndMembers;
3722
ReadOnlyMetadataCollection
<EdmMember> keyMembers = entitySet.ElementType.KeyMembers;
System\Data\Objects\ObjectStateManagerMetadata.cs (2)
164
ReadOnlyMetadataCollection
<EdmProperty> members = TypeHelpers.GetProperties(edmType);
169
ReadOnlyMetadataCollection
<EdmMember> keyMembers = null;
System\Data\Objects\RelationshipEntry.cs (2)
309
ReadOnlyMetadataCollection
<AssociationEndMember> endMembers = _relationshipWrapper.AssociationEndMembers;
515
ReadOnlyMetadataCollection
<AssociationEndMember> endMembers = _relationshipWrapper.AssociationEndMembers;
System\Data\Objects\RelationshipWrapper.cs (1)
82
internal
ReadOnlyMetadataCollection
<AssociationEndMember> AssociationEndMembers
System\Data\Query\PlanCompiler\ColumnMapProcessor.cs (1)
413
md.
ReadOnlyMetadataCollection
<md.EdmProperty> properties = TypeHelpers.GetProperties(typeInfo.Type);
System\Data\SqlClient\SqlGen\SqlGenerator.cs (1)
3266
ReadOnlyMetadataCollection
<EdmProperty> members = rowType.Properties;
System\Data\SqlClient\SqlProviderManifest.cs (3)
245
ReadOnlyMetadataCollection
<FunctionParameter> funParams = edmFunction.Parameters;
299
ReadOnlyMetadataCollection
<FunctionParameter> funParams = edmFunction.Parameters;
524
ReadOnlyMetadataCollection
<Facet> facets = edmType.Facets;
System.Data.Entity.Design (5)
System\Data\EntityModel\Emitters\ClientApiGenerator.cs (1)
225
ReadOnlyMetadataCollection
<EdmMember> members = item.DeclaringType.Members;
System\Data\EntityModel\Emitters\ComplexTypeEmitter.cs (1)
62
protected override
ReadOnlyMetadataCollection
<EdmProperty> GetProperties()
System\Data\EntityModel\Emitters\EntityTypeEmitter.cs (1)
96
protected override
ReadOnlyMetadataCollection
<EdmProperty> GetProperties()
System\Data\EntityModel\Emitters\StructuredTypeEmitter.cs (2)
135
protected abstract
ReadOnlyMetadataCollection
<EdmProperty> GetProperties();
147
ReadOnlyMetadataCollection
<EdmProperty> properties = GetProperties();
System.Data.Services (3)
System\Data\Services\Providers\ObjectContextServiceProvider.cs (3)
1497
private static string[] PropertyNamesToStrings(
ReadOnlyMetadataCollection
<EdmProperty> properties)
1520
ReadOnlyMetadataCollection
<EdmProperty> properties)
1605
ReadOnlyMetadataCollection
<MetadataProperty> metadataProperties,
System.Data.Services.Design (5)
System\Data\EntityModel\Emitters\ClientApiGenerator.cs (1)
382
ReadOnlyMetadataCollection
<EdmMember> members = item.DeclaringType.Members;
System\Data\EntityModel\Emitters\ComplexTypeEmitter.cs (1)
54
protected override
ReadOnlyMetadataCollection
<EdmProperty> GetProperties()
System\Data\EntityModel\Emitters\EntityTypeEmitter.cs (1)
93
protected override
ReadOnlyMetadataCollection
<EdmProperty> GetProperties()
System\Data\EntityModel\Emitters\StructuredTypeEmitter.cs (2)
129
protected abstract
ReadOnlyMetadataCollection
<EdmProperty> GetProperties();
139
ReadOnlyMetadataCollection
<EdmProperty> properties = GetProperties();
System.Web.DynamicData (1)
DynamicData\ModelProviders\EFTableProvider.cs (1)
26
var
keyMembers = entityType.KeyMembers;
System.Web.Entity (5)
System\Data\WebControls\EntityDataSourceUtil.cs (1)
60
ReadOnlyMetadataCollection
<EdmMember> members = null;
System\Data\WebControls\EntityDataSourceView.cs (2)
143
private
ReadOnlyMetadataCollection
<EdmMember> _keyMembers = null;
1561
private
ReadOnlyMetadataCollection
<EdmMember> KeyMembers
System\Data\WebControls\OrderByBuilder.cs (2)
229
ReadOnlyMetadataCollection
<EdmProperty> propertyCollection;
235
ReadOnlyMetadataCollection
<EdmMember> keyMembers;