/// <summary> /// Create a new BusinessOwner object. /// </summary> /// <param name="emailAddress">Initial value of the EmailAddress property.</param> /// <param name="businessID">Initial value of the BusinessID property.</param> /// <param name="passwordHash">Initial value of the PasswordHash property.</param> /// <param name="salt">Initial value of the Salt property.</param> public static BusinessOwner CreateBusinessOwner(global::System.String emailAddress, global::System.Int32 businessID, global::System.String passwordHash, global::System.String salt) { BusinessOwner businessOwner = new BusinessOwner(); businessOwner.EmailAddress = emailAddress; businessOwner.BusinessID = businessID; businessOwner.PasswordHash = passwordHash; businessOwner.Salt = salt; return businessOwner; }
/// <summary> /// Deprecated Method for adding a new object to the BusinessOwners EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToBusinessOwners(BusinessOwner businessOwner) { base.AddObject("BusinessOwners", businessOwner); }