AssociationType Class

Definition

Represents an association in a conceptual model.

public ref class AssociationType sealed : System::Data::Metadata::Edm::RelationshipType
public sealed class AssociationType : System.Data.Metadata.Edm.RelationshipType
type AssociationType = class
    inherit RelationshipType
Public NotInheritable Class AssociationType
Inherits RelationshipType
Inheritance

Remarks

For more information, see Association type.

Properties

Abstract

Gets a value indicating whether this type is abstract or not.

(Inherited from EdmType)
AssociationEndMembers

Gets the list of ends for this AssociationType.

BaseType

Gets the base type of this type.

(Inherited from EdmType)
BuiltInTypeKind

Gets the built-in type kind for this AssociationType.

Documentation

Gets or sets the documentation associated with this type.

(Inherited from MetadataItem)
FullName

Gets the full name of this type.

(Inherited from EdmType)
IsForeignKey

Gets the Boolean property value that specifies whether the column is a foreign key.

KeyMembers

Gets the list of all the key members for the current entity or relationship type.

(Inherited from EntityTypeBase)
Members

Gets the list of members on this type.

(Inherited from StructuralType)
MetadataProperties

Gets the list of properties of the current type.

(Inherited from MetadataItem)
Name

Gets the name of this type.

(Inherited from EdmType)
NamespaceName

Gets the namespace of this type.

(Inherited from EdmType)
ReferentialConstraints

Gets the list of constraints for this AssociationType.

RelationshipEndMembers

Gets the list of ends for this relationship type.

(Inherited from RelationshipType)

Methods

Equals(Object)

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

(Inherited from Object)
GetCollectionType()

Returns an instance of the CollectionType whose element type is this type.

(Inherited from EdmType)
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 full name of this type.

(Inherited from EdmType)

Extension Methods

Navigate(RelationshipType, String, String, DbExpression)

Creates a new DbRelationshipNavigationExpression representing the navigation of a composition or association relationship.

Applies to