EntityContainer Class

 

Class for representing an entity container

Namespace:   System.Data.Entity.Core.Metadata.Edm
Assembly:  EntityFramework (in EntityFramework.dll)

System.Object
  System.Data.Entity.Core.Metadata.Edm.MetadataItem
    System.Data.Entity.Core.Metadata.Edm.GlobalItem
      System.Data.Entity.Core.Metadata.Edm.EntityContainer

public class EntityContainer : GlobalItem

NameDescription
System_CAPS_pubmethodEntityContainer(String, DataSpace)

Creates an entity container with the specified name and data space.

NameDescription
System_CAPS_pubpropertyAssociationSets

Gets the association sets for this entity container.

System_CAPS_pubpropertyBaseEntitySets

Gets a list of entity sets and association sets that this EntityContainer includes.

System_CAPS_pubpropertyBuiltInTypeKind

Gets the built-in type kind for this EntityContainer.(Overrides MetadataItem.BuiltInTypeKind.)

System_CAPS_pubpropertyDocumentation

Gets or sets the documentation associated with this type.(Inherited from MetadataItem.)

System_CAPS_pubpropertyEntitySets

Gets the entity sets for this entity container.

System_CAPS_pubpropertyFunctionImports

Specifies a collection of EdmFunction elements. Each function contains the details of a stored procedure that exists in the database or equivalent CommandText that is mapped to an entity and its properties.

System_CAPS_pubpropertyMetadataProperties

Gets the list of properties of the current type.(Inherited from MetadataItem.)

System_CAPS_pubpropertyName

Gets the name of this EntityContainer.

NameDescription
System_CAPS_pubmethodAddAnnotation(String, Object)

Adds or updates an annotation with the specified name and value.(Inherited from MetadataItem.)

System_CAPS_pubmethodAddEntitySetBase(EntitySetBase)

Adds the specified entity set to the container.

System_CAPS_pubmethodAddFunctionImport(EdmFunction)

Adds a function import to the container.

System_CAPS_pubmethodSystem_CAPS_staticCreate(String, DataSpace, IEnumerable<EntitySetBase>, IEnumerable<EdmFunction>, IEnumerable<MetadataProperty>)

The factory method for constructing the EntityContainer object.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetEntitySetByName(String, Boolean)

Returns an EntitySet object by using the specified name for the entity set.

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetRelationshipSetByName(String, Boolean)

Returns a RelationshipSet object by using the specified name for the relationship set.

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodRemoveAnnotation(String)

Removes an annotation with the specified name.(Inherited from MetadataItem.)

System_CAPS_pubmethodRemoveEntitySetBase(EntitySetBase)

Removes a specific entity set from the container.

System_CAPS_pubmethodToString()

Returns the name of this EntityContainer.(Overrides Object.ToString().)

System_CAPS_pubmethodTryGetEntitySetByName(String, Boolean, EntitySet)

Returns an EntitySet object by using the specified name for the entity set.

System_CAPS_pubmethodTryGetRelationshipSetByName(String, Boolean, RelationshipSet)

Returns a RelationshipSet object by using the specified name for the relationship set.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.