RelationshipSet Class

Definition

Class for representing a relationship set

public abstract class RelationshipSet : System.Data.Entity.Core.Metadata.Edm.EntitySetBase
type RelationshipSet = class
    inherit EntitySetBase
Public MustInherit Class RelationshipSet
Inherits EntitySetBase
Inheritance
Derived

Properties

BuiltInTypeKind

Gets the built-in type kind for this RelationshipSet.

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 relationship type of this RelationshipSet.

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)

Methods

AddAnnotation(String, Object)

Adds or updates an annotation with the specified name and value.

(Inherited from MetadataItem)
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)

Extension Methods

Scan(EntitySetBase)

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

Applies to