DisplayOrderHelper.GetNextValue method (1 of 2)
namespace: Serenity.Data assembly: Serenity.Net.Services
Gets the next display order value for a table or a group of records.
public static int GetNextValue(IDbConnection connection, IDisplayOrderRow row,
ICriteria filter = null)
| parameter | description |
|---|---|
| connection | Connection (required). |
| row | Row with a display order field (required). |
| filter | Filter for records (can be null). |
Return Value
One more of maximum display order values of records in the group. If none, 1.
See Also
- interface IDisplayOrderRow
- interface ICriteria
- class DisplayOrderHelper
DisplayOrderHelper.GetNextValue method (2 of 2)
namespace: Serenity.Data assembly: Serenity.Net.Services
Gets the next display order value for a table or a group of records.
public static int GetNextValue(IDbConnection connection, string tableName, Field orderField,
ICriteria filter)
| parameter | description |
|---|---|
| connection | Connection (required). |
| tableName | Table name (required). |
| orderField | Display order field meta (required). |
| filter | Filter for records (can be null). |
Return Value
One more of maximum display order values of records in the group. If none, 1.
See Also
- class Field
- interface ICriteria
- class DisplayOrderHelper