public object Insert(tTypeParameterRow pRow) { NewRow(); Columns.IDAUTOTypeParameter = pRow.IDAUTOTypeParameter; Columns.vchName = pRow.vchName; Columns.descTypeParameter = pRow.descTypeParameter; Columns.bitAcvive = pRow.bitAcvive; object lResult = Apply(TConnectionSQL.ExecuteType.ExecuteScalar); return(lResult); }
public object Update(tTypeParameterRow pRow) { if (base.Eof() || (this.Columns.IDTypeParameter != pRow.IDTypeParameter)) { GetDataByID(pRow.IDTypeParameter); } Columns.IDAUTOTypeParameter = pRow.IDAUTOTypeParameter; Columns.vchName = pRow.vchName; Columns.descTypeParameter = pRow.descTypeParameter; Columns.bitAcvive = pRow.bitAcvive; object lResult = Apply(TConnectionSQL.ExecuteType.ExecuteScalar); return(lResult); }