Exemplo n.º 1
0
 public void Load()
 {
     using (DBL.DBTableHistory_Factory oFactory = new DBL.DBTableHistory_Factory())
     {
         oFactory.LoadSingleTableHistory(this);
     }
 }
Exemplo n.º 2
0
 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);
         }
     }
 }