public CallForSpeechRepository(ICallForSpeechGetByIdDoer callForSpeechGetByIdDoer,
                                ICallForSpeechGetCollectionDoer callForSpeechGetCollectionDoer,
                                ICallForSpeechSaveAcceptenceDoer callForSpeechSaveAcceptenceDoer,
                                ICallForSpeechSaveEvaluatationDoer callForSpeechSaveEvaluatationDoer,
                                ICallForSpeechSavePreliminaryAcceptenceDoer callForSpeechSavePreliminaryAcceptenceDoer,
                                ICallForSpeechSaveRejectionDoer callForSpeechSaveRejectionDoer,
                                ICallForSpeechSubmitDoer callForSpeechSubmitDoer)
 {
     _callForSpeechGetByIdDoer                   = callForSpeechGetByIdDoer;
     _callForSpeechGetCollectionDoer             = callForSpeechGetCollectionDoer;
     _callForSpeechSaveAcceptenceDoer            = callForSpeechSaveAcceptenceDoer;
     _callForSpeechSaveEvaluatationDoer          = callForSpeechSaveEvaluatationDoer;
     _callForSpeechSavePreliminaryAcceptenceDoer = callForSpeechSavePreliminaryAcceptenceDoer;
     _callForSpeechSaveRejectionDoer             = callForSpeechSaveRejectionDoer;
     _callForSpeechSubmitDoer = callForSpeechSubmitDoer;
 }
Esempio n. 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);
        }