AssociationSet Class

Definition

Class for representing an Association set

public sealed class AssociationSet : System.Data.Entity.Core.Metadata.Edm.RelationshipSet
type AssociationSet = class
    inherit RelationshipSet
Public NotInheritable Class AssociationSet
Inherits RelationshipSet
Inheritance

Properties

AssociationSetEnds

Gets the ends of this AssociationSet.

BuiltInTypeKind

Gets the built-in type kind for this AssociationSet.

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 association related to this AssociationSet.

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)
Create(String, AssociationType, EntitySet, EntitySet, IEnumerable<MetadataProperty>)

Creates a read-only AssociationSet instance from the specified parameters.

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