public static bool ToExcelSaveAs <T>(this IQueryable <T> query, string path, HeaderCollection headers = null, string dateFormat = "yyyy-MM-dd", string decimalFormat = "#,##0.00")
 {
     return(SaveAs(FabricListToExcel <T> .Create(query, headers, dateFormat, decimalFormat), path));
 }
 public ListToExcel(IQueryable <T> query, HeaderCollection headers = null, string dateFormat = "yyyy-MM-dd", string decimalFormat = "#,##0.00")
 {
     Load(query, headers, dateFormat, decimalFormat);
 }
 public static byte[] ToExcelByte <T>(this IQueryable <T> query, HeaderCollection headers = null, string dateFormat = "yyyy-MM-dd", string decimalFormat = "#,##0.00")
 {
     return(ExcelByte(FabricListToExcel <T> .Create(query, headers, dateFormat, decimalFormat)));
 }
 public ListToExcel(IEnumerable <T> items, HeaderCollection headers = null, string dateFormat = "yyyy-MM-dd", string decimalFormat = "#,##0.00")
 {
     Load(items, headers, dateFormat, decimalFormat);
 }