public int Insert(JDataBase pDB) { JAUTDocumentDetailTable AT = new JAUTDocumentDetailTable(); AT.SetValueProperty(this); Code = AT.Insert(pDB); return(Code); }
public bool Update(JDataBase pDB) { JAUTDocumentDetailTable AT = new JAUTDocumentDetailTable(); AT.SetValueProperty(this); if (AT.Update(pDB)) { return(true); } else { return(false); } }