Class SortColumnDescriptor<TEntity>
Inheritance
System.Object
SortColumnDescriptor<TEntity>
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: WaCore.Crud.Utils.Sorting
Assembly: WaCore.Crud.Utils.dll
Syntax
public class SortColumnDescriptor<TEntity>
Type Parameters
Name | Description |
---|---|
TEntity |
Properties
| Improve this Doc View SourceAsc
Declaration
public bool Asc { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
KeySelector
Declaration
public Expression KeySelector { get; set; }
Property Value
Type | Description |
---|---|
System.Linq.Expressions.Expression |
KeyType
Declaration
public Type KeyType { get; set; }
Property Value
Type | Description |
---|---|
System.Type |
Methods
| Improve this Doc View SourceInitialize<TKey>(Expression<Func<TEntity, TKey>>, Boolean)
Declaration
public SortColumnDescriptor<TEntity> Initialize<TKey>(Expression<Func<TEntity, TKey>> keySelector, bool asc)
Parameters
Type | Name | Description |
---|---|---|
System.Linq.Expressions.Expression<System.Func<TEntity, TKey>> | keySelector | |
System.Boolean | asc |
Returns
Type | Description |
---|---|
SortColumnDescriptor<TEntity> |
Type Parameters
Name | Description |
---|---|
TKey |