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 }); } }
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 }); } }
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); } }
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); } }
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); } }
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); } }
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 }); } }
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 }); } }