Ejemplo n.º 1
0
 public void NormallyInsertDateTime()
 {
     using (var container = new RhetosTestContainer())
     {
         var repository = container.Resolve<Common.DomRepository>();
         var entity = new SimpleDateTime { Value = new DateTime(2013, 7, 5, 12, 33, 1) };
         repository.TestMaxValue.SimpleDateTime.Insert(new[] { entity });
     }
 }
Ejemplo n.º 2
0
 public void NormallyInsertDateTime()
 {
     using (var executionContext = new CommonTestExecutionContext())
     {
         var repository = new Common.DomRepository(executionContext);
         var entity = new SimpleDateTime { Value = new DateTime(2013, 7, 5, 12, 33, 1) };
         repository.TestMaxValue.SimpleDateTime.Insert(new[] { entity });
     }
 }
Ejemplo n.º 3
0
 public void NormallyInsertDateTime()
 {
     using (var container = new RhetosTestContainer())
     {
         var repository = container.Resolve<Common.DomRepository>();
         var entity = new SimpleDateTime { Value = new DateTime(2013, 7, 5, 12, 34, 1) };
         repository.TestMinValue.SimpleDateTime.Insert(entity);
     }
 }
Ejemplo n.º 4
0
 public void ShouldThowUserExceptionOnInsertDateTime()
 {
     using (var container = new RhetosTestContainer())
     {
         var repository = container.Resolve<Common.DomRepository>();
         var entity = new SimpleDateTime { Value = new DateTime(2013, 7, 5, 12, 33, 59) };
         repository.TestMinValue.SimpleDateTime.Insert(entity);
     }
 }
Ejemplo n.º 5
0
 public void NormallyInsertDateTime()
 {
     using (var scope = TestScope.Create())
     {
         var repository = scope.Resolve <Common.DomRepository>();
         var entity     = new SimpleDateTime {
             Value = new DateTime(2013, 7, 5, 12, 34, 1)
         };
         repository.TestMinValue.SimpleDateTime.Insert(entity);
     }
 }
Ejemplo n.º 6
0
 public void ShouldThowUserExceptionOnInsertDateTime()
 {
     using (var scope = TestScope.Create())
     {
         var repository = scope.Resolve <Common.DomRepository>();
         var entity     = new SimpleDateTime {
             Value = new DateTime(2013, 7, 5, 12, 33, 59)
         };
         repository.TestMinValue.SimpleDateTime.Insert(entity);
     }
 }
Ejemplo n.º 7
0
 public void ShouldThowUserExceptionOnInsertDateTime()
 {
     using (var container = new RhetosTestContainer())
     {
         var repository = container.Resolve<Common.DomRepository>();
         var entity = new SimpleDateTime { Value = new DateTime(2013, 7, 5, 12, 34, 59) };
         repository.TestMaxValue.SimpleDateTime.Insert(new[] { entity });
     }
 }
Ejemplo n.º 8
0
 public void ShouldThowUserExceptionOnInsertDateTime()
 {
     using (var executionContext = new CommonTestExecutionContext())
     {
         var repository = new Common.DomRepository(executionContext);
         var entity = new SimpleDateTime { Value = new DateTime(2013, 7, 5, 12, 34, 59) };
         repository.TestMaxValue.SimpleDateTime.Insert(new[] { entity });
     }
 }