public UcModeReglement(string pNumDevis) { InitializeComponent(); NumDevis = pNumDevis; if (Deposit == null) { Deposit = new ObjDEPOSIT(); } }
public static bool UpdateDeposit(ObjDEPOSIT entity) { try { return(Entities.UpdateEntity <Galatee.Entity.Model.DEPOSIT>(Entities.ConvertObject <Galatee.Entity.Model.DEPOSIT, ObjDEPOSIT>(entity))); } catch (Exception ex) { throw ex; } }
public static bool InsertDeposit(galadbEntities pCommand, ObjDEPOSIT entity) { try { return(Entities.InsertEntity <Galatee.Entity.Model.DEPOSIT>(Entities.ConvertObject <Galatee.Entity.Model.DEPOSIT, ObjDEPOSIT>(entity), pCommand)); } catch (Exception ex) { throw ex; } }