EntitySet Class

 

Represents a particular usage of a structure defined in EntityType. In the conceptual-model, this represents a set that can query and persist entities. In the store-model it represents a table. From a store-space model-convention it can be used to configure table name with Table property and table schema with Schema property.

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


public class EntitySet : EntitySetBase

NameDescription
System_CAPS_pubpropertyBuiltInTypeKind

Gets the built-in type kind for this EntitySet.(Overrides EntitySetBase.BuiltInTypeKind.)

System_CAPS_pubpropertyDefiningQuery

Gets escaped provider specific SQL describing this entity set.(Inherited from EntitySetBase.)

System_CAPS_pubpropertyDocumentation

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

System_CAPS_pubpropertyElementType

Gets the entity type of this EntitySet.

System_CAPS_pubpropertyEntityContainer

Gets the entity container of the current entity or relationship set.(Inherited from EntitySetBase.)

System_CAPS_pubpropertyMetadataProperties

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

System_CAPS_pubpropertyName

Gets or sets the name of the current entity or relationship set. If this property is changed from store-space, the mapping layer must also be updated to reflect the new name. To change the table name of a store space EntitySet use the Table property.(Inherited from EntitySetBase.)

System_CAPS_pubpropertySchema

Gets or sets the database schema for this entity set.(Inherited from EntitySetBase.)

System_CAPS_pubpropertyTable

Gets or sets the database table name for this entity set.(Inherited from EntitySetBase.)

NameDescription
System_CAPS_pubmethodAddAnnotation(String, Object)

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

System_CAPS_pubmethodSystem_CAPS_staticCreate(String, String, String, String, EntityType, IEnumerable<MetadataProperty>)

The factory method for constructing the EntitySet object.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

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_pubmethodToString()

Returns the name of the current entity or relationship set.(Inherited from EntitySetBase.)

NameDescription
System_CAPS_pubmethodCreateRef(DbExpression[])

Overloaded. Creates a new DbRefExpression that encodes a reference to a specific entity based on key values.(Defined by DbExpressionBuilder.)

System_CAPS_pubmethodCreateRef(EntityType, DbExpression[])

Overloaded. Creates a new DbRefExpression that encodes a reference to a specific entity of a given type based on key values.(Defined by DbExpressionBuilder.)

System_CAPS_pubmethodCreateRef(EntityType, IEnumerable<DbExpression>)

Overloaded. Creates a new DbRefExpression that encodes a reference to a specific entity of a given type based on key values.(Defined by DbExpressionBuilder.)

System_CAPS_pubmethodCreateRef(IEnumerable<DbExpression>)

Overloaded. Creates a new DbRefExpression that encodes a reference to a specific entity based on key values.(Defined by DbExpressionBuilder.)

System_CAPS_pubmethodGetContainingTypes(ItemCollection)

Get all EntityTypes within this EntitySet(Defined by MetadataWorkspaceExtensions.)

System_CAPS_pubmethodGetSchemaName()

Retrieve the schema name for this EntitySet, stored in its MetadataProperties(Defined by MetadataWorkspaceExtensions.)

System_CAPS_pubmethodGetTableName()

Retrieve the table name for this EntitySet, stored in its MetadataProperties(Defined by MetadataWorkspaceExtensions.)

System_CAPS_pubmethodRefFromKey(DbExpression)

Overloaded. Creates a new DbRefExpression that encodes a reference to a specific Entity based on key values.(Defined by DbExpressionBuilder.)

System_CAPS_pubmethodRefFromKey(DbExpression, EntityType)

Overloaded. Creates a new DbRefExpression that encodes a reference to a specific Entity based on key values.(Defined by DbExpressionBuilder.)

System_CAPS_pubmethodScan()

Creates a new DbScanExpression that references the specified entity or relationship set.(Defined by DbExpressionBuilder.)

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