예제 #1
0
 public ProfilFonctionnalite ToModel()
 {
     return(new ProfilFonctionnalite()
     {
         Id = Id,
         IdProfil = IdProfil,
         IdFonctionnalite = IdFonctionnalite,
         DateCreation = DateCreation,
         StatusCode = StatusCode,
         IdFonctionnaliteNavigation = IdFonctionnaliteNavigation.ToModel(),
         IdProfilNavigation = IdProfilNavigation.ToModel(),
     });
 }
예제 #2
0
 public Agent ToModel()
 {
     return(new Agent()
     {
         Id = Id,
         IdProfil = IdProfil,
         Login = Login,
         MotDePasse = MotDePasse,
         DateCreation = DateCreation,
         Nom = Nom,
         Prenoms = Prenoms,
         Contact = Contact,
         Email = Email,
         IsUser = IsUser,
         IdPhoto = IdPhoto,
         StatusCode = StatusCode,
         IdPhotoNavigation = IdPhotoNavigation.ToModel(),
         IdProfilNavigation = IdProfilNavigation.ToModel(),
         HistoriqueJauge = HistoriqueJauge,
         Transfert = Transfert,
     });
 }