/ Published in: C#
Expand |
Embed | Plain Text
public static class DataTableExtensions { { foreach (var row in table.Rows) { var item = CreateItemFromRow<T>((DataRow)row, properties); result.Add(item); } return result; } { foreach (var property in properties) { property.SetValue(item, row[property.Name], null); } return item; } } gList.AddRange(DirectCast(DBDataTable.Select(), IEnumerable(Of Guid)))
You need to login to post a comment.
