แก้ไข

แชร์ผ่าน


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 set.

Properties

BuiltInTypeKind

Gets the built-in type kind for this EntitySet.

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 the name of the current entity or relationship set.

(Inherited from EntitySetBase)

Methods

Equals(Object)

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

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns the name of the current entity or relationship set.

(Inherited from EntitySetBase)

Extension Methods

CreateRef(EntitySet, IEnumerable<DbExpression>)

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

CreateRef(EntitySet, DbExpression[])

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

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[])

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

RefFromKey(EntitySet, DbExpression, EntityType)

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

RefFromKey(EntitySet, DbExpression)

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

Scan(EntitySetBase)

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

Applies to