Ejemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the PersonneJeu EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPersonneJeu(Personne personne)
 {
     base.AddObject("PersonneJeu", personne);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Create a new Personne object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="email">Initial value of the Email property.</param>
 /// <param name="password">Initial value of the Password property.</param>
 /// <param name="nom">Initial value of the Nom property.</param>
 /// <param name="prenom">Initial value of the Prenom property.</param>
 public static Personne CreatePersonne(global::System.Int32 id, global::System.String email, global::System.String password, global::System.String nom, global::System.String prenom)
 {
     Personne personne = new Personne();
     personne.ID = id;
     personne.Email = email;
     personne.Password = password;
     personne.Nom = nom;
     personne.Prenom = prenom;
     return personne;
 }