public void CreateFail2()
        {
            ActiveRecordStarter.Initialize(GetConfigSource(), typeof(User));
            Recreate();

            User user = new User();

            user.Save();
        }
		private int CreateNewUser()
		{
			int id;

			using (new SessionScope())
			{
				User user = new User();

				user.Name = "hammett";
				user.Login = "******";
				user.Email = "*****@*****.**";
				user.ConfirmationPassword = "******";
				user.Password = "******";

				user.Save();

				id = user.Id;
			}

			return id;
		}
		public void CreateFail4()
		{
			ActiveRecordStarter.Initialize(GetConfigSource(), typeof(User));
			Recreate();

			using (new TransactionScope())
			{
				User user = new User();

				user.Save();
			}
		}