Class AttTableOrderBy
- Namespace
- PHCDataLayer
- Assembly
- PHCDataLayer.dll
Campo ou conjunto de campos a serem utilizados na ordenação da consulta
[AttributeUsage(AttributeTargets.Class)]
public class AttTableOrderBy : AttGeneric, _Attribute
- Inheritance
-
AttTableOrderBy
Constructors
AttTableOrderBy()
public AttTableOrderBy()
AttTableOrderBy(string)
public AttTableOrderBy(string fields)
Parameters
| Nome | Tipo | Descrição |
|---|---|---|
fields |
string | campo do VO ou lista de campos do VO separados por vírgula (sem alias) |
AttTableOrderBy(string, OrderTypes)
public AttTableOrderBy(string fields, OrderTypes orderType)
Parameters
| Nome | Tipo | Descrição |
|---|---|---|
fields |
string | campo do VO ou lista de campos do VO separados por vírgula (sem alias) |
orderType |
OrderTypes | se a ordem é do tipo ascendente ou descendente |
AttTableOrderBy(string, string)
public AttTableOrderBy(string fields, string orderType)
Parameters
| Nome | Tipo | Descrição |
|---|---|---|
fields |
string | lista de campos do VO separados por vírgula |
orderType |
string | lista de tipo de ordem (A)scendente / (D)escendente separada por vírgula |
AttTableOrderBy(params string[])
public AttTableOrderBy(params string[] fields)
Parameters
| Nome | Tipo | Descrição |
|---|---|---|
fields |
string[] |
Properties
COrderType
public string COrderType { get; set; }
Property Value
OrderFields
public string OrderFields { get; set; }
Property Value
OrderType
public OrderTypes OrderType { get; set; }