EntitySet EntitySet EntitySet EntitySet Class

Definition

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.

public ref class EntitySet : System::Data::Metadata::Edm::EntitySetBase
public class EntitySet : System.Data.Metadata.Edm.EntitySetBase
type EntitySet = class
    inherit EntitySetBase
Public Class EntitySet
Inherits EntitySetBase
Inheritance

Remarks

For more information about the entity sets in a conceptual model, see Entity Sets (EDM).

Properties

BuiltInTypeKind BuiltInTypeKind BuiltInTypeKind BuiltInTypeKind

Gets the built-in type kind for this EntitySet.

Documentation Documentation Documentation Documentation

Gets or sets the documentation associated with this type.

(Inherited from MetadataItem)
ElementType ElementType ElementType ElementType

Gets the entity type of this EntitySet.

EntityContainer EntityContainer EntityContainer EntityContainer

Gets the entity container of the current entity or relationship set.

(Inherited from EntitySetBase)
MetadataProperties MetadataProperties MetadataProperties MetadataProperties

Gets the list of properties of the current type.

(Inherited from MetadataItem)
Name Name Name Name

Gets the name of the current entity or relationship set.

(Inherited from EntitySetBase)

Methods

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns the name of the current entity or relationship set.

(Inherited from EntitySetBase)

Extension Methods

CreateRef(EntitySet, IEnumerable<DbExpression>) CreateRef(EntitySet, IEnumerable<DbExpression>) CreateRef(EntitySet, IEnumerable<DbExpression>) CreateRef(EntitySet, IEnumerable<DbExpression>)

Creates a new DbRefExpression that encodes a reference to a specific entity based on key values.

CreateRef(EntitySet, DbExpression[]) CreateRef(EntitySet, DbExpression[]) CreateRef(EntitySet, DbExpression[]) CreateRef(EntitySet, DbExpression[])

Creates a new DbRefExpression that encodes a reference to a specific entity based on key values.

CreateRef(EntitySet, EntityType, IEnumerable<DbExpression>) CreateRef(EntitySet, EntityType, IEnumerable<DbExpression>) CreateRef(EntitySet, EntityType, IEnumerable<DbExpression>) CreateRef(EntitySet, EntityType, IEnumerable<DbExpression>)

Creates a new DbRefExpression that encodes a reference to a specific entity of a given type based on key values.

CreateRef(EntitySet, EntityType, DbExpression[]) CreateRef(EntitySet, EntityType, DbExpression[]) CreateRef(EntitySet, EntityType, DbExpression[]) CreateRef(EntitySet, EntityType, DbExpression[])

Creates a new DbRefExpression that encodes a reference to a specific entity of a given type based on key values.

RefFromKey(EntitySet, DbExpression) RefFromKey(EntitySet, DbExpression) RefFromKey(EntitySet, DbExpression) RefFromKey(EntitySet, DbExpression)

Creates a new DbRefExpression that encodes a reference to a specific Entity based on key values.

RefFromKey(EntitySet, DbExpression, EntityType) RefFromKey(EntitySet, DbExpression, EntityType) RefFromKey(EntitySet, DbExpression, EntityType) RefFromKey(EntitySet, DbExpression, EntityType)

Creates a new DbRefExpression that encodes a reference to a specific Entity based on key values.

Scan(EntitySetBase) Scan(EntitySetBase) Scan(EntitySetBase) Scan(EntitySetBase)

Creates a new DbScanExpression that references the specified entity or relationship set.

Applies to