แก้ไข

แชร์ผ่าน


System.Data.Metadata.Edm Namespace

Contains a set of types that represent concepts throughout the models used by the Entity Framework and a set of classes that help applications to work with metadata.

Classes

AssociationEndMember

Represents the End of an association in the conceptual model.

AssociationSet

Represents an association set in the conceptual model.

AssociationSetEnd

Represents the End of the association set in a conceptual model.

AssociationType

Represents an association in a conceptual model.

CollectionType

Represents a collection of instances of a specific type. You cannot explicitly define a CollectionType in a conceptual model.

ComplexType

Represents a complex type in a conceptual model.

Documentation

Represents the documentation associated with a conceptual model construct.

EdmError

Encapsulates the error information for a generic conceptual model error.

EdmFunction

Represents information about the functions that may be invoked from the queries written by the Entity SQL query language. These may be the built-in functions exposed by the storage provider or user-defined functions in a particular database.

EdmItemCollection

Loads metadata about the conceptual model. The EdmItemCollection loads metadata from conceptual schema definition language (CSDL) files. This class is derived from the ItemCollection class.

EdmMember

Represents a member that can be declared in any StructuralType.

EdmProperty

Represents a property for the EntityType in a conceptual model. An EdmProperty class derives from the EdmMember class and provides the DefaultValue and the Nullable facets for the type of this EdmProperty.

EdmSchemaError

Encapsulates the detailed information about a conceptual model schema error.

EdmType

Represents a base class for all the types in a conceptual model.

EntityContainer

Represents an entity container in a conceptual model. An EntityContainer is a logical grouping of entity sets and association sets.

EntitySet

Represents an entity set in a conceptual model. An EntitySet for an EntityType contains instances of the EntityType or any of its subtypes. More than one EntitySet can be defined by using the same EntityType.

EntitySetBase

A base class for an EntitySet and a RelationshipSet.

EntityType

Represents a particular type of data, such as a customer entity or an order entity in a conceptual model.

EntityTypeBase

A base type for EntityType and RelationshipType.

EnumMember

Represents an enumeration member.

EnumType

Represents an enumeration type.

Facet

Provides additional information about members. In the ADO.NET metadata type hierarchy, facets provide additional information about members through the declared type for the member.

FacetDescription

Specifies a description of the facet.

FunctionParameter

Describes the parameters of an EdmFunction.

GlobalItem

Represents the base item class for all the conceptual model types and entity containers.

ItemCollection

A base class for ObjectItemCollection, EdmItemCollection, and StorageMappingItemCollection classes. An ItemCollection class is an abstract class and provides the core API for loading and holding the in-memory metadata. This class is derived from the ReadOnlyMetadataCollection<T> class.

MetadataItem

Represents the base item class for all the metadata in the ADO.NET metadata type hierarchy.

MetadataProperty

Represents a metadata attribute for an item in the ADO.NET metadata hierarchy.

MetadataWorkspace

Represents the ADO.NET metadata runtime service component that provides support for retrieving metadata from various sources.

NavigationProperty

Represents the navigation from one entity type to another entity type in the conceptual model .

ObjectItemCollection

Class for representing a collection of items for the object layer. Most of the implementation for actual maintenance of the collection is done by ItemCollection.

PrimitiveType

Describes the .NET primitive types, conceptual model primitive types, and storage provider-specific primitive types.

ReadOnlyMetadataCollection<T>

Represents a collection of members in the ADO.NET metadata hierarchy by providing a read-only collection with advanced lookup capabilities. This class is derived from the ReadOnlyCollection<T> class.

ReferentialConstraint

Describes the referential constraints on the relationships in a conceptual model.

RefType

Provides the address of an entity for operations that use the entity. You cannot define a RefType in a conceptual model schema explicitly.

RelationshipEndMember

Defines the End member for the RelationshipType.

RelationshipSet

Represents a relationship set in a conceptual model.

RelationshipType

Represents the base class for relationships in a conceptual model.

RowType

Describes a row, such as the result of a query. This class is derived from the StructuralType class. The structure of the row type depends on what database columns are projected in the query. The RowType can be useful in conceptual-model functions.

SimpleType

A base class that describes primitive types in a conceptual model.

StoreItemCollection

Loads metadata about the storage (database) model. The StoreItemCollection loads metadata from store schema definition language (SSDL) files. This class is derived from the ItemCollection class.

StructuralType

A base type for all the types in a conceptual model that have members.

TypeUsage

Describes a type and a set of facets for that type.

Structs

ReadOnlyMetadataCollection<T>.Enumerator

Supports a simple iteration over the ReadOnlyMetadataCollection<T> collection.

Enums

BuiltInTypeKind

Represents an enumeration that specifies the list of all built-in types in a conceptual model.

CollectionKind

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.

ConcurrencyMode

Specifies the concurrency options for the properties in a conceptual model.

DataSpace

Specifies the default names for the models in the Entity Framework.

EdmSchemaErrorSeverity

Specifies the severity level of the error.

OperationAction

Specifies the list of possible actions when the parent End of the RelationshipType is deleted.

ParameterMode

Specifies the direction of a parameter.

ParameterTypeSemantics

Specifies the type semantics that are used to resolve the function overloads. Each store provider must use these enumeration flags in the provider manifest file for every function definition.

PrimitiveTypeKind

Specifies the primitive types as defined by EDM.

PropertyKind

Specifies the kinds of item attributes in the conceptual model.

RelationshipMultiplicity

Represents the multiplicity information about the End of a relationship type.

StoreGeneratedPattern

Represents an enumeration that specifies three options indicating whether the column in the store schema definition language (SSDL) (.ssdl) needs a value during insert and update operations. ADO.NET reads the value of the column and then stores it in-memory cache.

Remarks

For more information about how to use this namespace, see ADO.NET Metadata.