Example #1
0
        public void SetUp()
        {
            var effortContext = new EffortContext <SingleObjectContext>("data/simpleObject");

            simpleObjectsFromContext = effortContext.GetContext().SimpleObjects.ToList();
        }
Example #2
0
        public void ShouldMapCorrectlyTheObjectIfTableNameHasBeenAnnotated()
        {
            var effortContext = new EffortContext <SingleObjectWithTableNameContext>("data/singleObject_WithTableAnnotation");

            Assert.AreEqual(12, effortContext.GetContext().ObjectsWithOnlyAnId.First().Id);
        }