SqlDataRow
Represents a SQL data row. This class cannot be inherited, backwards compatibility isn't guaranteed, and should never be consumed by API users.
using System;
using System.Data;
namespace Relativity.DataExchange.Data
{
public sealed class SqlDataRow
{
private readonly DataRowView row;
public object this[int index] {
get {
return row[index];
}
set {
row[index] = value;
}
}
public object this[string fieldName] {
get {
return row[fieldName];
}
set {
row[fieldName] = value;
}
}
public SqlDataRow(DataRowView row)
{
if (row == null)
throw new ArgumentNullException("row");
this.row = row;
}
}
}