AssociationProvider.GetSortExpression(ColumnProvider) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.