public bool ExportData <T>(BusinessObjectCollection <T> bocollection, string directory, out string file, out string message) where T : BusinessObject { return(TransferDataTableToCSVFile(bocollection.ToDataTable(), directory, null, out file, out message)); }