コード例 #1
0
 public static TbrembourssementDto FromModel(Tbrembourssement model)
 {
     return(new TbrembourssementDto()
     {
         Idrembours = model.Idrembours,
         Librembours = model.Librembours,
         Idfact = model.Idfact,
         Idmodrglmt = model.Idmodrglmt,
         IdUser = model.IdUser,
         DateCreation = model.DateCreation,
         ModifieLe = model.ModifieLe,
         ModifiePar = model.ModifiePar,
         StateCode = model.StateCode,
         StatusCode = model.StatusCode,
         IdfactNavigation = TbfactureDto.FromModel(model.IdfactNavigation),
         IdmodrglmtNavigation = TbmodeReglementDto.FromModel(model.IdmodrglmtNavigation),
     });
 }
コード例 #2
0
ファイル: TbreglementDto.cs プロジェクト: nsankouakou/EAuto
 public static TbreglementDto FromModel(Tbreglement model)
 {
     return(new TbreglementDto()
     {
         Idreglmt = model.Idreglmt,
         Numreglmt = model.Numreglmt,
         Datreglmt = model.Datreglmt,
         NomMandant = model.NomMandant,
         Mtrglmt = model.Mtrglmt,
         Idfact = model.Idfact,
         Idmodrglmt = model.Idmodrglmt,
         NumeroRecu = model.NumeroRecu,
         NumeroCheque = model.NumeroCheque,
         NumeroCompte = model.NumeroCompte,
         IdUser = model.IdUser,
         DateCreation = model.DateCreation,
         ModifieLe = model.ModifieLe,
         ModifiePar = model.ModifiePar,
         StateCode = model.StateCode,
         StatusCode = model.StatusCode,
         IdfactNavigation = TbfactureDto.FromModel(model.IdfactNavigation),
         IdmodrglmtNavigation = TbmodeReglementDto.FromModel(model.IdmodrglmtNavigation),
     });
 }