Ejemplo n.º 1
0
 public void InsertInToDb <T>(ref T item)
     where T : class, new()
 {
     item = SmartDbEntityAgentFactory.Of(item);
     SmartDbBus.PlanToWriteToDb(item, DbActionType.Insert);
     //return item;
 }
Ejemplo n.º 2
0
 public void DeleteFromDb <T>(T item)
     where T : class, new()
 {
     SmartDbBus.PlanToWriteToDb(item, DbActionType.Delete);
 }
Ejemplo n.º 3
0
 private void WriteToDb(T item, DbActionType type)
 {
     SmartDbBus.PlanToWriteToDb(item, type);
 }