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.
Assembly: EntityFramework (in EntityFramework.dll)
System.Data.Entity.Core.Metadata.Edm.MetadataItem
System.Data.Entity.Core.Metadata.Edm.EntitySetBase
System.Data.Entity.Core.Metadata.Edm.EntitySet
Name | Description | |
---|---|---|
![]() | BuiltInTypeKind | Gets the built-in type kind for this EntitySet.(Overrides EntitySetBase.BuiltInTypeKind.) |
![]() | DefiningQuery | Gets escaped provider specific SQL describing this entity set.(Inherited from EntitySetBase.) |
![]() | Documentation | Gets or sets the documentation associated with this type.(Inherited from MetadataItem.) |
![]() | ElementType | Gets the entity type of this EntitySet. |
![]() | EntityContainer | Gets the entity container of the current entity or relationship set.(Inherited from EntitySetBase.) |
![]() | MetadataProperties | Gets the list of properties of the current type.(Inherited from MetadataItem.) |
![]() | Name | 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.) |
![]() | Schema | Gets or sets the database schema for this entity set.(Inherited from EntitySetBase.) |
![]() | Table | Gets or sets the database table name for this entity set.(Inherited from EntitySetBase.) |
Name | Description | |
---|---|---|
![]() | AddAnnotation(String, Object) | Adds or updates an annotation with the specified name and value.(Inherited from MetadataItem.) |
![]() ![]() | Create(String, String, String, String, EntityType, IEnumerable<MetadataProperty>) | The factory method for constructing the EntitySet object. |
![]() | Equals(Object) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | RemoveAnnotation(String) | Removes an annotation with the specified name.(Inherited from MetadataItem.) |
![]() | ToString() | Returns the name of the current entity or relationship set.(Inherited from EntitySetBase.) |
Name | Description | |
---|---|---|
![]() | CreateRef(DbExpression[]) | Overloaded. Creates a new DbRefExpression that encodes a reference to a specific entity based on key values.(Defined by DbExpressionBuilder.) |
![]() | CreateRef(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.) |
![]() | CreateRef(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.) |
![]() | CreateRef(IEnumerable<DbExpression>) | Overloaded. Creates a new DbRefExpression that encodes a reference to a specific entity based on key values.(Defined by DbExpressionBuilder.) |
![]() | GetContainingTypes(ItemCollection) | Get all EntityTypes within this EntitySet(Defined by MetadataWorkspaceExtensions.) |
![]() | GetSchemaName() | Retrieve the schema name for this EntitySet, stored in its MetadataProperties(Defined by MetadataWorkspaceExtensions.) |
![]() | GetTableName() | Retrieve the table name for this EntitySet, stored in its MetadataProperties(Defined by MetadataWorkspaceExtensions.) |
![]() | RefFromKey(DbExpression) | Overloaded. Creates a new DbRefExpression that encodes a reference to a specific Entity based on key values.(Defined by DbExpressionBuilder.) |
![]() | RefFromKey(DbExpression, EntityType) | Overloaded. Creates a new DbRefExpression that encodes a reference to a specific Entity based on key values.(Defined by DbExpressionBuilder.) |
![]() | Scan() | 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.