100 references to GetBuiltInType
System.Data.Entity (99)
System\Data\Metadata\Edm\MetadataItem_Static.cs (98)
82
InitializeBuiltInTypes((ComplexType)
GetBuiltInType
(BuiltInTypeKind.MetadataItem),
88
InitializeBuiltInTypes((ComplexType)
GetBuiltInType
(BuiltInTypeKind.MetadataProperty),
91
(ComplexType)
GetBuiltInType
(BuiltInTypeKind.MetadataItem));
93
InitializeBuiltInTypes((ComplexType)
GetBuiltInType
(BuiltInTypeKind.GlobalItem),
96
(ComplexType)
GetBuiltInType
(BuiltInTypeKind.MetadataItem));
98
InitializeBuiltInTypes((ComplexType)
GetBuiltInType
(BuiltInTypeKind.TypeUsage),
101
(ComplexType)
GetBuiltInType
(BuiltInTypeKind.MetadataItem));
104
InitializeBuiltInTypes((ComplexType)
GetBuiltInType
(BuiltInTypeKind.EdmType),
107
(ComplexType)
GetBuiltInType
(BuiltInTypeKind.GlobalItem));
109
InitializeBuiltInTypes((ComplexType)
GetBuiltInType
(BuiltInTypeKind.SimpleType),
112
(ComplexType)
GetBuiltInType
(BuiltInTypeKind.EdmType));
114
InitializeBuiltInTypes((ComplexType)
GetBuiltInType
(BuiltInTypeKind.EnumType),
117
(ComplexType)
GetBuiltInType
(BuiltInTypeKind.SimpleType));
119
InitializeBuiltInTypes((ComplexType)
GetBuiltInType
(BuiltInTypeKind.PrimitiveType),
122
(ComplexType)
GetBuiltInType
(BuiltInTypeKind.SimpleType));
124
InitializeBuiltInTypes((ComplexType)
GetBuiltInType
(BuiltInTypeKind.CollectionType),
127
(ComplexType)
GetBuiltInType
(BuiltInTypeKind.EdmType));
129
InitializeBuiltInTypes((ComplexType)
GetBuiltInType
(BuiltInTypeKind.RefType),
132
(ComplexType)
GetBuiltInType
(BuiltInTypeKind.EdmType));
134
InitializeBuiltInTypes((ComplexType)
GetBuiltInType
(BuiltInTypeKind.EdmMember),
137
(ComplexType)
GetBuiltInType
(BuiltInTypeKind.MetadataItem));
139
InitializeBuiltInTypes((ComplexType)
GetBuiltInType
(BuiltInTypeKind.EdmProperty),
142
(ComplexType)
GetBuiltInType
(BuiltInTypeKind.EdmMember));
144
InitializeBuiltInTypes((ComplexType)
GetBuiltInType
(BuiltInTypeKind.NavigationProperty),
147
(ComplexType)
GetBuiltInType
(BuiltInTypeKind.EdmMember));
149
InitializeBuiltInTypes((ComplexType)
GetBuiltInType
(BuiltInTypeKind.ProviderManifest),
152
(ComplexType)
GetBuiltInType
(BuiltInTypeKind.MetadataItem));
154
InitializeBuiltInTypes((ComplexType)
GetBuiltInType
(BuiltInTypeKind.RelationshipEndMember),
157
(ComplexType)
GetBuiltInType
(BuiltInTypeKind.EdmMember));
159
InitializeBuiltInTypes((ComplexType)
GetBuiltInType
(BuiltInTypeKind.AssociationEndMember),
162
(ComplexType)
GetBuiltInType
(BuiltInTypeKind.RelationshipEndMember));
164
InitializeBuiltInTypes((ComplexType)
GetBuiltInType
(BuiltInTypeKind.EnumMember),
167
(ComplexType)
GetBuiltInType
(BuiltInTypeKind.MetadataItem));
169
InitializeBuiltInTypes((ComplexType)
GetBuiltInType
(BuiltInTypeKind.ReferentialConstraint),
172
(ComplexType)
GetBuiltInType
(BuiltInTypeKind.MetadataItem));
175
InitializeBuiltInTypes((ComplexType)
GetBuiltInType
(BuiltInTypeKind.StructuralType),
178
(ComplexType)
GetBuiltInType
(BuiltInTypeKind.EdmType));
180
InitializeBuiltInTypes((ComplexType)
GetBuiltInType
(BuiltInTypeKind.RowType),
183
(ComplexType)
GetBuiltInType
(BuiltInTypeKind.StructuralType));
185
InitializeBuiltInTypes((ComplexType)
GetBuiltInType
(BuiltInTypeKind.ComplexType),
188
(ComplexType)
GetBuiltInType
(BuiltInTypeKind.StructuralType));
190
InitializeBuiltInTypes((ComplexType)
GetBuiltInType
(BuiltInTypeKind.EntityTypeBase),
193
(ComplexType)
GetBuiltInType
(BuiltInTypeKind.StructuralType));
195
InitializeBuiltInTypes((ComplexType)
GetBuiltInType
(BuiltInTypeKind.EntityType),
198
(ComplexType)
GetBuiltInType
(BuiltInTypeKind.EntityTypeBase));
200
InitializeBuiltInTypes((ComplexType)
GetBuiltInType
(BuiltInTypeKind.RelationshipType),
203
(ComplexType)
GetBuiltInType
(BuiltInTypeKind.EntityTypeBase));
205
InitializeBuiltInTypes((ComplexType)
GetBuiltInType
(BuiltInTypeKind.AssociationType),
208
(ComplexType)
GetBuiltInType
(BuiltInTypeKind.RelationshipType));
210
InitializeBuiltInTypes((ComplexType)
GetBuiltInType
(BuiltInTypeKind.Facet),
213
(ComplexType)
GetBuiltInType
(BuiltInTypeKind.MetadataItem));
215
InitializeBuiltInTypes((ComplexType)
GetBuiltInType
(BuiltInTypeKind.EntityContainer),
218
(ComplexType)
GetBuiltInType
(BuiltInTypeKind.GlobalItem));
220
InitializeBuiltInTypes((ComplexType)
GetBuiltInType
(BuiltInTypeKind.EntitySetBase),
223
(ComplexType)
GetBuiltInType
(BuiltInTypeKind.MetadataItem));
225
InitializeBuiltInTypes((ComplexType)
GetBuiltInType
(BuiltInTypeKind.EntitySet),
228
(ComplexType)
GetBuiltInType
(BuiltInTypeKind.EntitySetBase));
231
InitializeBuiltInTypes((ComplexType)
GetBuiltInType
(BuiltInTypeKind.RelationshipSet),
234
(ComplexType)
GetBuiltInType
(BuiltInTypeKind.EntitySetBase));
236
InitializeBuiltInTypes((ComplexType)
GetBuiltInType
(BuiltInTypeKind.AssociationSet),
239
(ComplexType)
GetBuiltInType
(BuiltInTypeKind.RelationshipSet));
241
InitializeBuiltInTypes((ComplexType)
GetBuiltInType
(BuiltInTypeKind.AssociationSetEnd),
244
(ComplexType)
GetBuiltInType
(BuiltInTypeKind.MetadataItem));
246
InitializeBuiltInTypes((ComplexType)
GetBuiltInType
(BuiltInTypeKind.FunctionParameter),
249
(ComplexType)
GetBuiltInType
(BuiltInTypeKind.MetadataItem));
251
InitializeBuiltInTypes((ComplexType)
GetBuiltInType
(BuiltInTypeKind.EdmFunction),
254
(ComplexType)
GetBuiltInType
(BuiltInTypeKind.EdmType));
256
InitializeBuiltInTypes((ComplexType)
GetBuiltInType
(BuiltInTypeKind.Documentation),
259
(ComplexType)
GetBuiltInType
(BuiltInTypeKind.MetadataItem));
298
MetadataItem.
GetBuiltInType
(BuiltInTypeKind.EdmType),
306
MetadataItem.
GetBuiltInType
(BuiltInTypeKind.EnumType),
317
TypeUsage edmTypeUsage = TypeUsage.Create(MetadataItem.
GetBuiltInType
(BuiltInTypeKind.EdmType));
318
TypeUsage typeUsageTypeUsage = TypeUsage.Create(MetadataItem.
GetBuiltInType
(BuiltInTypeKind.TypeUsage));
319
TypeUsage complexTypeUsage = TypeUsage.Create(MetadataItem.
GetBuiltInType
(BuiltInTypeKind.ComplexType));
328
new EdmProperty[] { new EdmProperty(EdmConstants.ItemAttributes, TypeUsage.Create(
GetBuiltInType
(BuiltInTypeKind.MetadataProperty).GetCollectionType())),
329
new EdmProperty(EdmConstants.Documentation, TypeUsage.Create(
GetBuiltInType
(BuiltInTypeKind.Documentation))) });
332
new EdmProperty[] { new EdmProperty(EdmConstants.EdmType, TypeUsage.Create(
GetBuiltInType
(BuiltInTypeKind.EdmType))),
333
new EdmProperty(EdmConstants.Facets, TypeUsage.Create(
GetBuiltInType
(BuiltInTypeKind.Facet)))});
350
new EdmProperty[] { new EdmProperty(EdmConstants.EntityType, TypeUsage.Create(
GetBuiltInType
(BuiltInTypeKind.EntityType))) });
354
new EdmProperty(EdmConstants.TypeUsage, TypeUsage.Create(
GetBuiltInType
(BuiltInTypeKind.TypeUsage))) });
366
new EdmProperty(EdmConstants.RelationshipMultiplicity, TypeUsage.Create(
GetBuiltInType
(BuiltInTypeKind.EnumType))) });
372
new EdmProperty[] { new EdmProperty(EdmConstants.ToRole, TypeUsage.Create(
GetBuiltInType
(BuiltInTypeKind.RelationshipEndMember))),
373
new EdmProperty(EdmConstants.FromRole, TypeUsage.Create(
GetBuiltInType
(BuiltInTypeKind.RelationshipEndMember))),
374
new EdmProperty(EdmConstants.ToProperties, TypeUsage.Create(
GetBuiltInType
(BuiltInTypeKind.EdmProperty).GetCollectionType())),
375
new EdmProperty(EdmConstants.FromProperties, TypeUsage.Create(
GetBuiltInType
(BuiltInTypeKind.EdmProperty).GetCollectionType())) } );
379
new EdmProperty[] { new EdmProperty(EdmConstants.Members, TypeUsage.Create(
GetBuiltInType
(BuiltInTypeKind.EdmMember))) });
382
new EdmProperty[] { new EdmProperty(EdmConstants.KeyMembers, TypeUsage.Create(
GetBuiltInType
(BuiltInTypeKind.EdmMember))) });
387
new EdmProperty(EdmConstants.Value, TypeUsage.Create(
GetBuiltInType
(BuiltInTypeKind.EdmType))) });
391
new EdmProperty(EdmConstants.EntitySets, TypeUsage.Create(
GetBuiltInType
(BuiltInTypeKind.EntitySet))) });
395
new EdmProperty(EdmConstants.EntityType, TypeUsage.Create(
GetBuiltInType
(BuiltInTypeKind.EntityType))),
401
new EdmProperty[] { new EdmProperty(EdmConstants.AssociationSetEnds, TypeUsage.Create(
GetBuiltInType
(BuiltInTypeKind.AssociationSetEnd).GetCollectionType()))});
405
new EdmProperty(EdmConstants.EntitySetType, TypeUsage.Create(
GetBuiltInType
(BuiltInTypeKind.EntitySet))) } );
409
new EdmProperty(EdmConstants.Mode, TypeUsage.Create(
GetBuiltInType
(BuiltInTypeKind.EnumType))),
410
new EdmProperty(EdmConstants.TypeUsage, TypeUsage.Create(
GetBuiltInType
(BuiltInTypeKind.TypeUsage))) });
415
new EdmProperty(EdmConstants.ReturnParameter, TypeUsage.Create(
GetBuiltInType
(BuiltInTypeKind.FunctionParameter))),
416
new EdmProperty(EdmConstants.Parameters, TypeUsage.Create(
GetBuiltInType
(BuiltInTypeKind.FunctionParameter).GetCollectionType())) });
506
ComplexType complexType = (ComplexType)
GetBuiltInType
(builtInTypeKind);
526
EnumType enumType = (EnumType)
GetBuiltInType
(builtInTypeKind);
System\Data\Metadata\Edm\MetadataPropertyAttribute.cs (1)
29
: this(MetadataItem.
GetBuiltInType
(builtInTypeKind), isCollectionType)
System.Data.Entity.Design (1)
System\Data\Entity\Design\Common\MetadataItemSerializer.cs (1)
29
public static readonly EdmType NoSpecificTypeSentinal = MetadataItem.
GetBuiltInType
(BuiltInTypeKind.EdmType);