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