Пример #1
0
 private TestResult TestSingleMapper(IMapperTest test)
 {
     return(new TestResult
     {
         MapperName = test.GetType().Name,
         CreateResult = TestSingleMethod(test.Create),
         //CreateUsingSPResult = TestSingleMethod(test.CreateUsingSP),
         ReadResult = TestSingleMethod(test.Read),
         //ReadUsingSPResult = TestSingleMethod(test.ReadUsingSP),
         UpdateResult = TestSingleMethod(test.Update),
         //UpdateUsingSPResult = TestSingleMethod(test.UpdateUsingSP),
         DeleteResult = TestSingleMethod(test.Delete),
         //DeleteUsingSPResult = TestSingleMethod(test.DeleteUsingSP),
     });
 }
Пример #2
0
 private TestResult TestSingleMapper(IMapperTest test)
 {
     return new TestResult
     {
         MapperName = test.GetType().Name,
         CreateResult = TestSingleMethod(test.Create),
         //CreateUsingSPResult = TestSingleMethod(test.CreateUsingSP),
         ReadResult = TestSingleMethod(test.Read),
         //ReadUsingSPResult = TestSingleMethod(test.ReadUsingSP),
         UpdateResult = TestSingleMethod(test.Update),
         //UpdateUsingSPResult = TestSingleMethod(test.UpdateUsingSP),
         DeleteResult = TestSingleMethod(test.Delete),
         //DeleteUsingSPResult = TestSingleMethod(test.DeleteUsingSP),
     };
 }