namespace: Serenity.Web assembly: Serenity.Net.Web
A dynamic script type for distinct values of a field
public class DistinctValuesScript<TRow> : LookupScript
where TRow : class, IRow, new()
parameter | description |
---|---|
TRow |
name | description |
---|---|
DistinctValuesScript(…) | Creates a new instance of the class |
override GetScript() |
name | description |
---|---|
virtual ApplyOrder(…) | Applies the sort order to the query |
override GetItems() | |
virtual PrepareQuery(…) | Prepares the sql query |
- class LookupScript
- interface IRow
- Source: DistinctValuesScript.cs