Redigera

Dela via


AssociationProvider Class

Definition

Provides the base class for column-association providers.

public ref class AssociationProvider abstract
public abstract class AssociationProvider
type AssociationProvider = class
Public MustInherit Class AssociationProvider
Inheritance
AssociationProvider

Remarks

Association providers must extend this class.

Constructors

AssociationProvider()

Initializes a new instance of the AssociationProvider class for use by an inherited class instance. This constructor can only be called by an inherited class.

Properties

Direction

Gets or sets the type of the association.

ForeignKeyNames

Gets or sets the names of the foreign keys that make up this association.

FromColumn

Gets or sets the source column of the association.

IsPrimaryKeyInThisTable

Gets or sets a value that indicates whether the From column part of the primary key is in the table.

ToColumn

Gets or sets the destination column of the association.

ToTable

Gets the destination table of the association.

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)
GetSortExpression(ColumnProvider)

Returns the sort expression for the column that is represented by the association.

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 a string that represents the current object.

(Inherited from Object)

Applies to