コード例 #1
0
ファイル: Model1.Designer.cs プロジェクト: yoan-durand/TP
 /// <summary>
 /// Deprecated Method for adding a new object to the T_User EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToT_User(T_User t_User)
 {
     base.AddObject("T_User", t_User);
 }
コード例 #2
0
ファイル: Model1.Designer.cs プロジェクト: yoan-durand/TP
 /// <summary>
 /// Create a new T_User object.
 /// </summary>
 /// <param name="id">Initial value of the id property.</param>
 /// <param name="name">Initial value of the name property.</param>
 /// <param name="firstname">Initial value of the firstname property.</param>
 /// <param name="email">Initial value of the email property.</param>
 /// <param name="phone">Initial value of the phone property.</param>
 /// <param name="password">Initial value of the password property.</param>
 public static T_User CreateT_User(global::System.Int64 id, global::System.String name, global::System.String firstname, global::System.String email, global::System.String phone, global::System.String password)
 {
     T_User t_User = new T_User();
     t_User.id = id;
     t_User.name = name;
     t_User.firstname = firstname;
     t_User.email = email;
     t_User.phone = phone;
     t_User.password = password;
     return t_User;
 }