Пример #1
0
 public When_persisting_a_user()
 {
     _user = new User
     {
         FirstName = "John",
         LastName = "Doe",
         Email = "*****@*****.**"
     };
 }
Пример #2
0
 public CreateUserCommand(User user)
     : base(ConfigurationManager.ConnectionStrings["ActiveConnection"].ConnectionString)
 {
     _user = user;
 }
Пример #3
0
 public CreateUserCommand(string connectionString, User user)
     : base(connectionString)
 {
     _user = user;
 }