示例#1
0
        public ZEsJugdeRepository(IJudgeAddDoer judgeAddDoer,
                                  IJudgeUpdateDoer judgeUpdateDoer, IJudgeDeleteDoer judgeDeleteDoer,
                                  IJudgeGetAllDoer judgeGetAllDoer, IJudgeGetByIdDoer judgeGetByIdDoer,
                                  IZEsGeekLemonDBContext zEsGeekLemonDBContext)
            : base(judgeAddDoer, judgeUpdateDoer, judgeDeleteDoer, judgeGetAllDoer,
                   judgeGetByIdDoer)
        {
            GeekLemonDBContext context =
                new GeekLemonDBContext(zEsGeekLemonDBContext.ConnectionString);

            this.ChangeContext(context);
        }
示例#2
0
        public ZEsCategoryRepository(ICategoryAddDoer categoryAddDoer,
                                     ICategoryGetAllDoer categoryGetAllDoer, ICategoryDeleteDoer categoryDeleteDoer,
                                     ICategoryGetByIdDoer categoryGetByIdDoer, ICategoryUpdateDoer categoryUpdateDoer,
                                     IZEsGeekLemonDBContext zEsGeekLemonDBContext)
            : base(categoryAddDoer, categoryGetAllDoer, categoryDeleteDoer, categoryGetByIdDoer,
                   categoryUpdateDoer)

        {
            GeekLemonDBContext context =
                new GeekLemonDBContext(zEsGeekLemonDBContext.ConnectionString);

            this.ChangeContext(context);
        }
示例#3
0
        public ZEsCallForSpeechRepository(ICallForSpeechGetByIdDoer callForSpeechGetByIdDoer,
                                          ICallForSpeechGetCollectionDoer callForSpeechGetCollectionDoer,
                                          ICallForSpeechSaveAcceptenceDoer callForSpeechSaveAcceptenceDoer,
                                          ICallForSpeechSaveEvaluatationDoer callForSpeechSaveEvaluatationDoer,
                                          ICallForSpeechSavePreliminaryAcceptenceDoer callForSpeechSavePreliminaryAcceptenceDoer,
                                          ICallForSpeechSaveRejectionDoer callForSpeechSaveRejectionDoer,
                                          ICallForSpeechSubmitDoer callForSpeechSubmitDoer,
                                          IZEsGeekLemonDBContext _zEsGeekLemonDBContext)
            : base(callForSpeechGetByIdDoer, callForSpeechGetCollectionDoer,
                   callForSpeechSaveAcceptenceDoer, callForSpeechSaveEvaluatationDoer,
                   callForSpeechSavePreliminaryAcceptenceDoer, callForSpeechSaveRejectionDoer,
                   callForSpeechSubmitDoer)
        {
            GeekLemonDBContext context =
                new GeekLemonDBContext(_zEsGeekLemonDBContext.ConnectionString);

            this.ChangeContext(context);
        }