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