Ejemplo n.º 1
0
 public static T WithTableParameters <T>(this T current, ITableExtension other)
     where T : ITableExtension
 {
     current.SortName  = other.SortName;
     current.SortOrder = other.SortOrder;
     return(current);
 }
Ejemplo n.º 2
0
 public override void setElementType(IRootElement selectedElement)
 {
     this.iTableExtension = selectedElement as ITableExtension;
 }
Ejemplo n.º 3
0
 public static IQueryable <T> SortQuery <T>(this IQueryable <T> queryable, ITableExtension sort)
 {
     return(SortQuery(queryable, sort.SortName, sort.SortOrder));
 }