Class SortFieldMappingBuilder<TEntity>
Inheritance
System.Object
SortFieldMappingBuilder<TEntity>
Implements
ISortFieldMappingBuilder<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 SortFieldMappingBuilder<TEntity> : ISortFieldMappingBuilder<TEntity>
Type Parameters
Name | Description |
---|---|
TEntity |
Properties
| Improve this Doc View SourceCaseSensitive
Declaration
public bool CaseSensitive { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
| Improve this Doc View SourceBuild()
Declaration
public SortFieldMapping<TEntity> Build()
Returns
Type | Description |
---|---|
SortFieldMapping<TEntity> |
ForDtoSortField<TDto>(Expression<Func<TDto, Object>>)
Declaration
public IFirstSortConfigurable<TEntity> ForDtoSortField<TDto>(Expression<Func<TDto, object>> expr)
Parameters
Type | Name | Description |
---|---|---|
System.Linq.Expressions.Expression<System.Func<TDto, System.Object>> | expr |
Returns
Type | Description |
---|---|
IFirstSortConfigurable<TEntity> |
Type Parameters
Name | Description |
---|---|
TDto |
ForSortField(String)
Declaration
public IFirstSortConfigurable<TEntity> ForSortField(string sortField)
Parameters
Type | Name | Description |
---|---|---|
System.String | sortField |
Returns
Type | Description |
---|---|
IFirstSortConfigurable<TEntity> |