public static ICollection <dynamic> ToList(this DataTable dataTable, Type target) { return(DataSerializer.ConvertDataTableToListOfType(dataTable, target)); }
public static List <T> ToList <T>(this DataTable dataTable) where T : new() { return(DataSerializer.ConvertDataTableToListOfType <T>(dataTable)); }