/// <summary> /// Create a new Login object. /// </summary> /// <param name="loginId">Initial value of the LoginId property.</param> /// <param name="loginName">Initial value of the LoginName property.</param> /// <param name="password">Initial value of the Password property.</param> /// <param name="emailAddress">Initial value of the EmailAddress property.</param> /// <param name="active">Initial value of the Active property.</param> /// <param name="created">Initial value of the Created property.</param> public static Login CreateLogin(global::System.Int32 loginId, global::System.String loginName, global::System.String password, global::System.String emailAddress, global::System.Boolean active, global::System.DateTime created) { Login login = new Login(); login.LoginId = loginId; login.LoginName = loginName; login.Password = password; login.EmailAddress = emailAddress; login.Active = active; login.Created = created; return login; }
/// <summary> /// Deprecated Method for adding a new object to the Logins EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToLogins(Login login) { base.AddObject("Logins", login); }