コード例 #1
0
ファイル: Model.Designer.cs プロジェクト: vitelize/YouFood
 /// <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);
 }
コード例 #2
0
ファイル: Model.Designer.cs プロジェクト: vitelize/YouFood
 /// <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;
 }