Exemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the smu_User EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTosmu_User(smu_User smu_User)
 {
     base.AddObject("smu_User", smu_User);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Create a new smu_User object.
 /// </summary>
 /// <param name="userId">Initial value of the UserId property.</param>
 /// <param name="email">Initial value of the Email property.</param>
 /// <param name="username">Initial value of the Username property.</param>
 /// <param name="password">Initial value of the Password property.</param>
 /// <param name="gUID">Initial value of the GUID property.</param>
 /// <param name="wantsNewsletter">Initial value of the WantsNewsletter property.</param>
 /// <param name="statusId">Initial value of the StatusId property.</param>
 /// <param name="createDate">Initial value of the CreateDate property.</param>
 /// <param name="sex">Initial value of the Sex property.</param>
 public static smu_User Createsmu_User(global::System.Int32 userId, global::System.String email, global::System.String username, global::System.String password, global::System.String gUID, global::System.Boolean wantsNewsletter, global::System.Int32 statusId, global::System.DateTime createDate, global::System.String sex)
 {
     smu_User smu_User = new smu_User();
     smu_User.UserId = userId;
     smu_User.Email = email;
     smu_User.Username = username;
     smu_User.Password = password;
     smu_User.GUID = gUID;
     smu_User.WantsNewsletter = wantsNewsletter;
     smu_User.StatusId = statusId;
     smu_User.CreateDate = createDate;
     smu_User.Sex = sex;
     return smu_User;
 }