public override void SetValue(object obj, object value) { LazyTableDataRow ldr = (LazyTableDataRow)obj; ldr [columnIndex] = value; if (type == null && value != null) { type = value.GetType(); } }
public override object GetValue(object obj, bool applyRestrictions = false) { LazyTableDataRow ldr = (LazyTableDataRow)obj; object ret = ldr [columnIndex]; if (type == null && ret != null) { type = ret.GetType(); } return(ret); }