You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
iot/projects/Infrastructure/Extensions/DataRowExtensions.cs

15 lines
335 B

using System.Data;
namespace Infrastructure.Extensions
{
public static class DataRowExtensions
{
public static void Add(this DataRow dataRow, params object[] values)
{
foreach (var item in values.Each())
{
dataRow[item.i] = item.value;
}
}
}
}