Edit

Share via


AssociationProvider.GetSortExpression(ColumnProvider) Method

Definition

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

public:
 virtual System::String ^ GetSortExpression(System::Web::DynamicData::ModelProviders::ColumnProvider ^ sortColumn);
public virtual string GetSortExpression (System.Web.DynamicData.ModelProviders.ColumnProvider sortColumn);
abstract member GetSortExpression : System.Web.DynamicData.ModelProviders.ColumnProvider -> string
override this.GetSortExpression : System.Web.DynamicData.ModelProviders.ColumnProvider -> string
Public Overridable Function GetSortExpression (sortColumn As ColumnProvider) As String

Parameters

sortColumn
ColumnProvider

The column to sort the entity by.

Returns

If IsSortable returns true, the sort expression for the column that is represented by the association; otherwise, null.

Applies to