예제 #1
0
 public UserType SecondUserType()
 {
     var secondUserType = new UserType
     {
         UserTypeId = 2,
         UserTypeValue = UserTypes.Values.Client.ToString()
     };
     return secondUserType;
 }
예제 #2
0
 public UserType FirstUserType()
 {
     var firstUserType = new UserType
     {
         UserTypeId = 1,
         UserTypeValue = UserTypes.Values.Cooker.ToString()
     };
     return firstUserType;
 }
예제 #3
0
 partial void OnUserTypeChanging(UserType value);
예제 #4
0
 public Employee(string email, string password, string fullName, int id, int phoneNumber, UserType type, bool changePassword)
 {
     this.email          = email;
     this.password       = password;
     this.fullName       = fullName;
     this.id             = id;
     this.phoneNumber    = phoneNumber;
     this.type           = type;
     this.changePassword = changePassword;
 }
예제 #5
0
파일: User.cs 프로젝트: gourdon/C-
 public User (string name, UserType userType)
     : this()
 {
     Name = name;
     UserType = userType;
 }
예제 #6
0
        public int Save(UserType _object)
        {
            int _returnValue = base.Save <UserType>("spAddEditUserType", _object);

            return(_returnValue);
        }
예제 #7
0
 public User(string name, UserType userType)
     : this()
 {
     Name     = name;
     UserType = userType;
 }
예제 #8
0
 partial void OnUserTypeChanging(UserType value);