AssociationProvider Class

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Provides the base class for column-association providers.

Namespace:   System.Web.DynamicData.ModelProviders
Assembly:  System.Web.DynamicData (in System.Web.DynamicData.dll)

System.Object
  System.Web.DynamicData.ModelProviders.AssociationProvider

public abstract class AssociationProvider

NameDescription
System_CAPS_protmethodAssociationProvider()

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.

NameDescription
System_CAPS_pubpropertyDirection

Gets or sets the type of the association.

System_CAPS_pubpropertyForeignKeyNames

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

System_CAPS_pubpropertyFromColumn

Gets or sets the source column of the association.

System_CAPS_pubpropertyIsPrimaryKeyInThisTable

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

System_CAPS_pubpropertyToColumn

Gets or sets the destination column of the association.

System_CAPS_pubpropertyToTable

Gets the destination table of the association.

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetSortExpression(ColumnProvider)

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

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

Association providers must extend this class.

.NET Framework
Available since 3.5

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: