Члены MetadataWorkspaceExtensions

Provides extension methods for navigating and querying item collections in the System.Data.Metadata.Edm namespace.

В следующих таблицах перечислены члены, предоставляемые типом MetadataWorkspaceExtensions.

Открытый Методы

(см. также Защищенный Методы)

  Название Описание
public method Equals  Перегружен. (Наследуется от Object)
public methodstatic GetAllAssociations Returns an enumerable collection of all AssociationType objects in the specified ItemCollection.
public methodstatic GetAllAssociationSets Returns an enumerable collection of all AssociationSet objects in the specified ItemCollection.
public methodstatic GetAllEntitySets Returns an enumerable collection of all EntitySet objects in the specified ItemCollection.
public methodstatic GetAllEntityTypes Returns an enumerable collection of all EntityType objects in the specified ItemCollection.
public methodstatic GetAllReferentialConstraints Returns an enumerable collection of all ReferentialConstraint objects in the specified StoreItemCollection.
public methodstatic GetAssociation Returns the AssociationType object in the specified AssociationSet.
public methodstatic GetContainingTypes Returns a collection of all EntityType objects within the specified EntitySet and ItemCollection.
public methodstatic GetDbProviderManifest Returns the DbProviderManifest for the provider that has the specified invariant name and manifest token.
public methodstatic GetDependentEnd Returns the dependent end of the specified AssociationType object.
public methodstatic GetDependentProperty Returns the property on the dependent end of the specified referential constraint that corresponds to the property on the principal end.
public methodstatic GetEnd1 Returns the first AssociationEndMember in the AssociationEndMembers property of the specified AssociationType.
public methodstatic GetEnd2 Returns the second AssociationEndMember in the AssociationEndMembers property of the specified AssociationType.
public methodstatic GetEntityContainerName Returns the value of the Name attribute of the EntityContainer element in the specified ItemCollection.
public methodstatic GetEntityType Returns the EntityType for the specified RelationshipEndMember.
public method GetHashCode  (Наследуется от Object)
public methodstatic GetKeyProperties Перегружен. Returns the key properties of an entity type.
public methodstatic GetNamespace Returns the namespace name of the first StructuralType found in the specified ItemCollection.
public methodstatic GetOnDelete Returns the value of the OnDelete element for the specified association End.
public methodstatic GetOtherEnd Returns the other association End for the specified association End.
public methodstatic GetPrincipalEnd Returns the principal end of the specified association.
public methodstatic GetRootOrSelf Returns the entity type at the root of an inheritance hierarchy.
public methodstatic GetSchemaName Returns the schema name for the specified EntitySet.
public methodstatic GetStoreGeneratedPatternValue Returns the value of the StoreGeneratedPattern annotation or facet of a property in the conceptual or storage model.
public methodstatic GetStoreType Returns the storage type that corresponds to the specified EdmMember by examining the specified DbProviderManifest.
public methodstatic GetTableName Returns the name of the table that corresponds to the specified EntitySet.
public method GetType  (Наследуется от Object)
public methodstatic InferSsdlFacetsForCsdlProperty Infers Facets for a property in the storage model based on the corresponding property in the conceptual model.
public methodstatic IsComplexProperty Determines whether the type of the specified property is a complex type.
public methodstatic IsDerivedType Determines whether the specified entity type is a derived type.
public methodstatic IsJoinTable Determines whether the specified storage model entity type represents a join table in the database.
public methodstatic IsManyToMany Determines if the specified association is a many-to-many (*:*) association.
public methodstatic IsPKToPK Determines if the ends of the specified association involve only primary keys.
public methodstatic ReferenceEquals  (Наследуется от Object)
public methodstatic ToStoreType Translates the conceptual model data type of the specified property to a SQL Server data type.
public method ToString  (Наследуется от Object)
public methodstatic VisitComplexProperty Executes the MetadataWorkspaceExtensions.ScalarInComplexPropertyVisitorDelegate on each scalar property of the specified complex type property.

В начало

Защищенный Методы

  Название Описание
protected method Finalize  (Наследуется от Object)
protected method MemberwiseClone  (Наследуется от Object)

В начало

См. также

Справочник

MetadataWorkspaceExtensions - класс
Microsoft.Data.Entity.Design.DatabaseGeneration - пространство имен

Другие ресурсы

How to: Generate a Database from a Conceptual Model
Windows Workflow Foundation