/// <summary> /// Deprecated Method for adding a new object to the Passwords EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToPasswords(Password password) { base.AddObject("Passwords", password); }
/// <summary> /// Create a new Password object. /// </summary> /// <param name="businessEntityID">Initial value of the BusinessEntityID property.</param> /// <param name="passwordHash">Initial value of the PasswordHash property.</param> /// <param name="passwordSalt">Initial value of the PasswordSalt property.</param> /// <param name="rowguid">Initial value of the rowguid property.</param> /// <param name="modifiedDate">Initial value of the ModifiedDate property.</param> public static Password CreatePassword(global::System.Int32 businessEntityID, global::System.String passwordHash, global::System.String passwordSalt, global::System.Guid rowguid, global::System.DateTime modifiedDate) { Password password = new Password(); password.BusinessEntityID = businessEntityID; password.PasswordHash = passwordHash; password.PasswordSalt = passwordSalt; password.rowguid = rowguid; password.ModifiedDate = modifiedDate; return password; }