コード例 #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 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);
        }