public PublicUser(string userName, string password, string firstName, string lastName, Language preferedLanguage) : base(userName, password, firstName, lastName, preferedLanguage) { //if (string.IsNullOrEmpty(address)) // throw new ArgumentNullException("address"); //_address = address; _userType = PublicUserType.NormalUser; }
public virtual void SetPublicUserType(PublicUserType userType) { _userType = userType; }