public void Load() { using (DBL.DBTableHistory_Factory oFactory = new DBL.DBTableHistory_Factory()) { oFactory.LoadSingleTableHistory(this); } }
public void Save() { using (DBL.DBTableHistory_Factory oFactory = new DBL.DBTableHistory_Factory()) { if (this.TableHistoryID == Guid.Empty) { this.TableHistoryID = System.Guid.NewGuid(); oFactory.InsertSingleTableHistory(this); } else { oFactory.UpdateSingleTableHistory(this); } } }