public virtual object this[int columnIndex] { get { IFakeColumn col = this.Table.Columns.ElementAt(columnIndex); object value = col[this.Index]; return(value); } set { IFakeColumn col = this.Table.Columns.ElementAt(columnIndex); col[this.Index] = value; } }
public virtual object this[string columnName] { get { IFakeColumn col = this.Table.GetColumn(columnName); if (col == null) { return(null); } object value = col[this.Index]; return(value); } set { IFakeColumn col = this.Table.GetColumn(columnName); if (col != null) { col[this.Index] = value; } } }
public virtual void AddColumn(IFakeColumn column) { this.CastColumn().Add(column); }