Пример #1
0
 public static TbexpertiseFourniturePointChocDto FromModel(TbexpertiseFourniturePointChoc model)
 {
     return(new TbexpertiseFourniturePointChocDto()
     {
         Idexpert = model.Idexpert,
         Idpointchoc = model.Idpointchoc,
         Idfourn = model.Idfourn,
         DepRep = model.DepRep,
         Reparer = model.Reparer,
         Remp = model.Remp,
         Peint = model.Peint,
         Pu = model.Pu,
         Vetuste = model.Vetuste,
         Mtht = model.Mtht,
         MtTtc = model.MtTtc,
         Rem = model.Rem,
         MtTotHt = model.MtTotHt,
         MtTotTtc = model.MtTotTtc,
         Ligne = model.Ligne,
         Vneuve = model.Vneuve,
         IdUser = model.IdUser,
         DateCreation = model.DateCreation,
         ModifieLe = model.ModifieLe,
         ModifiePar = model.ModifiePar,
         StateCode = model.StateCode,
         StatusCode = model.StatusCode,
         IdexpertNavigation = TbexpertiseDto.FromModel(model.IdexpertNavigation),
         IdfournNavigation = TbfournitureDto.FromModel(model.IdfournNavigation),
         IdpointchocNavigation = TbpointChocDto.FromModel(model.IdpointchocNavigation),
     });
 }
Пример #2
0
 public static TbdiscussionDto FromModel(Tbdiscussion model)
 {
     return(new TbdiscussionDto()
     {
         Iddiscus = model.Iddiscus,
         Libdiscus = model.Libdiscus,
         Idexpert = model.Idexpert,
         IdUser = model.IdUser,
         DateCreation = model.DateCreation,
         ModifieLe = model.ModifieLe,
         ModifiePar = model.ModifiePar,
         StateCode = model.StateCode,
         StatusCode = model.StatusCode,
         IdexpertNavigation = TbexpertiseDto.FromModel(model.IdexpertNavigation),
     });
 }
Пример #3
0
 public static TbphotoDto FromModel(Tbphoto model)
 {
     return(new TbphotoDto()
     {
         Idphoto = model.Idphoto,
         DocNumber = model.DocNumber,
         DocName = model.DocName,
         DocDescription = model.DocDescription,
         DocExtension = model.DocExtension,
         Doc = model.Doc.ToArray(),
         Idexpert = model.Idexpert,
         IdUser = model.IdUser,
         DateCreation = model.DateCreation,
         IdexpertNavigation = TbexpertiseDto.FromModel(model.IdexpertNavigation),
     });
 }
Пример #4
0
 public static TbpreambuleDto FromModel(Tbpreambule model)
 {
     return(new TbpreambuleDto()
     {
         Idpreamb = model.Idpreamb,
         Libpreamb = model.Libpreamb,
         IdExpert = model.IdExpert,
         IdUser = model.IdUser,
         DateCreation = model.DateCreation,
         ModifieLe = model.ModifieLe,
         ModifiePar = model.ModifiePar,
         StateCode = model.StateCode,
         StatusCode = model.StatusCode,
         IdExpertNavigation = TbexpertiseDto.FromModel(model.IdExpertNavigation),
     });
 }
Пример #5
0
 public static TbexpertiseTypeNoteDto FromModel(TbexpertiseTypeNote model)
 {
     return(new TbexpertiseTypeNoteDto()
     {
         Idexpert = model.Idexpert,
         Idtypnote = model.Idtypnote,
         Texte = model.Texte,
         IdUser = model.IdUser,
         DateCreation = model.DateCreation,
         ModifieLe = model.ModifieLe,
         ModifiePar = model.ModifiePar,
         StateCode = model.StateCode,
         StatusCode = model.StatusCode,
         IdexpertNavigation = TbexpertiseDto.FromModel(model.IdexpertNavigation),
         IdtypnoteNavigation = TbtypeNoteDto.FromModel(model.IdtypnoteNavigation),
     });
 }
Пример #6
0
 public static TbexpertiseRubriqueEstimationDto FromModel(TbexpertiseRubriqueEstimation model)
 {
     return(new TbexpertiseRubriqueEstimationDto()
     {
         IdExpert = model.IdExpert,
         IdRubEstim = model.IdRubEstim,
         Estimation = model.Estimation,
         IdUser = model.IdUser,
         DateCreation = model.DateCreation,
         ModifieLe = model.ModifieLe,
         ModifiePar = model.ModifiePar,
         StateCode = model.StateCode,
         StatusCode = model.StatusCode,
         IdExpertNavigation = TbexpertiseDto.FromModel(model.IdExpertNavigation),
         IdRubEstimNavigation = TbrubriqueEstimationDto.FromModel(model.IdRubEstimNavigation),
     });
 }
Пример #7
0
 public static TbexpertiseRubriqueMoDto FromModel(TbexpertiseRubriqueMo model)
 {
     return(new TbexpertiseRubriqueMoDto()
     {
         Idexpert = model.Idexpert,
         IdrubriqMo = model.IdrubriqMo,
         Constat = model.Constat,
         IdUser = model.IdUser,
         DateCreation = model.DateCreation,
         ModifieLe = model.ModifieLe,
         ModifiePar = model.ModifiePar,
         StateCode = model.StateCode,
         StatusCode = model.StatusCode,
         IdexpertNavigation = TbexpertiseDto.FromModel(model.IdexpertNavigation),
         IdrubriqMoNavigation = TbrubriqueMainOeuvreDto.FromModel(model.IdrubriqMoNavigation),
     });
 }
 public static TbexpertiseDepannagePointChocDto FromModel(TbexpertiseDepannagePointChoc model)
 {
     return(new TbexpertiseDepannagePointChocDto()
     {
         IdExpert = model.IdExpert,
         IdPointChoc = model.IdPointChoc,
         IdDepann = model.IdDepann,
         Montant = model.Montant,
         LibelleDepann = model.LibelleDepann,
         IdUser = model.IdUser,
         DateCreation = model.DateCreation,
         ModifieLe = model.ModifieLe,
         ModifiePar = model.ModifiePar,
         StateCode = model.StateCode,
         StatusCode = model.StatusCode,
         IdExpertNavigation = TbexpertiseDto.FromModel(model.IdExpertNavigation),
     });
 }
Пример #9
0
 public static TbexpertisePointChocDto FromModel(TbexpertisePointChoc model)
 {
     return(new TbexpertisePointChocDto()
     {
         Idexpert = model.Idexpert,
         Idpointchoc = model.Idpointchoc,
         IdFourn = model.IdFourn,
         Ligne = model.Ligne,
         IdUser = model.IdUser,
         DateCreation = model.DateCreation,
         ModifieLe = model.ModifieLe,
         ModifiePar = model.ModifiePar,
         StateCode = model.StateCode,
         StatusCode = model.StatusCode,
         IdexpertNavigation = TbexpertiseDto.FromModel(model.IdexpertNavigation),
         IdpointchocNavigation = TbpointChocDto.FromModel(model.IdpointchocNavigation),
     });
 }
Пример #10
0
 public static TbexpertiseEtatRapportDto FromModel(TbexpertiseEtatRapport model)
 {
     return(new TbexpertiseEtatRapportDto()
     {
         IdExpert = model.IdExpert,
         IdEtaRaport = model.IdEtaRaport,
         DatEtat = model.DatEtat,
         HeurEtat = model.HeurEtat,
         IdUser = model.IdUser,
         DateCreation = model.DateCreation,
         ModifieLe = model.ModifieLe,
         ModifiePar = model.ModifiePar,
         StateCode = model.StateCode,
         StatusCode = model.StatusCode,
         IdEtaRaportNavigation = TbetatRapportDto.FromModel(model.IdEtaRaportNavigation),
         IdExpertNavigation = TbexpertiseDto.FromModel(model.IdExpertNavigation),
     });
 }
Пример #11
0
 public static TbexpertiseRubriqueConstatationPointChocDto FromModel(TbexpertiseRubriqueConstatationPointChoc model)
 {
     return(new TbexpertiseRubriqueConstatationPointChocDto()
     {
         Idexpert = model.Idexpert,
         IdRubConst = model.IdRubConst,
         Idpointchoc = model.Idpointchoc,
         Constat = model.Constat,
         IdUser = model.IdUser,
         DateCreation = model.DateCreation,
         ModifieLe = model.ModifieLe,
         ModifiePar = model.ModifiePar,
         StateCode = model.StateCode,
         StatusCode = model.StatusCode,
         IdRubConstNavigation = TbrubriqueConstatationDto.FromModel(model.IdRubConstNavigation),
         IdexpertNavigation = TbexpertiseDto.FromModel(model.IdexpertNavigation),
         IdpointchocNavigation = TbpointChocDto.FromModel(model.IdpointchocNavigation),
     });
 }
Пример #12
0
 public static TbexpertisePourRecousPointChocDto FromModel(TbexpertisePourRecousPointChoc model)
 {
     return(new TbexpertisePourRecousPointChocDto()
     {
         IdRecours = model.IdRecours,
         IdExpert = model.IdExpert,
         IdPointChoc = model.IdPointChoc,
         MontRecous = model.MontRecous,
         LibRecours = model.LibRecours,
         IdUser = model.IdUser,
         DateCreation = model.DateCreation,
         ModifieLe = model.ModifieLe,
         ModifiePar = model.ModifiePar,
         StateCode = model.StateCode,
         StatusCode = model.StatusCode,
         IdExpertNavigation = TbexpertiseDto.FromModel(model.IdExpertNavigation),
         IdPointChocNavigation = TbpointChocDto.FromModel(model.IdPointChocNavigation),
         IdRecoursNavigation = TbpourRecoursDto.FromModel(model.IdRecoursNavigation),
     });
 }
 public static TbexpertiseTravauxExterieurPointChocDto FromModel(TbexpertiseTravauxExterieurPointChoc model)
 {
     return(new TbexpertiseTravauxExterieurPointChocDto()
     {
         Idpointchoc = model.Idpointchoc,
         Idautrecharg = model.Idautrecharg,
         Mtautrecharge = model.Mtautrecharge,
         Dep = model.Dep,
         IdExpert = model.IdExpert,
         IdUser = model.IdUser,
         DateCreation = model.DateCreation,
         ModifieLe = model.ModifieLe,
         ModifiePar = model.ModifiePar,
         StateCode = model.StateCode,
         StatusCode = model.StatusCode,
         IdExpertNavigation = TbexpertiseDto.FromModel(model.IdExpertNavigation),
         IdautrechargNavigation = TbtravauxExterieurDto.FromModel(model.IdautrechargNavigation),
         IdpointchocNavigation = TbpointChocDto.FromModel(model.IdpointchocNavigation),
     });
 }