示例#1
0
 private bool Insert(CsUsage pUsage)
 {
     try
     {
         return(Entities.InsertEntity <Galatee.Entity.Model.USAGE>(Entities.ConvertObject <Galatee.Entity.Model.USAGE, CsUsage>(pUsage)));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
示例#2
0
 public bool Delete(CsUsage pUsage)
 {
     try
     {
         return(Entities.DeleteEntity <Galatee.Entity.Model.USAGE>(Entities.ConvertObject <Galatee.Entity.Model.USAGE, CsUsage>(pUsage)));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }