public Table1Row(Ntreev.Crema.Code.Reader.IRow row, Table1 table) : base(table.Columns, row) { this.tableTable1 = table; this.field_StringKey = row.ToString(0); this.field_IntKey = row.ToInt32(1); this.field_TypeKey = ((Type1)(row.ToInt32(2))); this.field_FloatKey = row.ToSingle(3); if (row.HasValue(4)) { this.field_Column4 = row.ToString(4); } if (row.HasValue(5)) { this.field_Column5 = row.ToBoolean(5); } }
protected override Table1Row CreateRowInstance(Ntreev.Crema.Code.Reader.IRow row, object table) { return(new Table1Row(row, ((Table1)(table)))); }