Beispiel #1
0
 public Repository(EfDbContext context)
 {
     if (_googleContext == null)
     {
         _googleContext = new GoogleContext();
     }
     if (this._context == null)
     {
         this._context = context;
     }
 }
Beispiel #2
0
 /// <summary>
 /// Connects this instance.
 /// </summary>
 /// <returns></returns>
 public KbContext Connect()
 {
     try
     {
         var context = new GoogleContext(new DalMultiThreadProvider(null));
         return(context.Login(boxLogin.Text.Trim(), boxPassword.Password)
             ? context : null);
     }
     catch (Exception ex)
     {
         ErrorForm.Show("Error connect", ex);
         return(null);
     }
 }
Beispiel #3
0
 public KnowledgeManager(GoogleContext context)
     : base(context)
 {
 }
 public NoteClass(GoogleContext GK)
 {
     this.Notes = GK;
 }
Beispiel #5
0
 public UserManager(GoogleContext context)
     : base(context)
 {
 }
Beispiel #6
0
 public EmployeeController(GoogleContext context, IMapper mapper)
 {
     this.context = context;
     this.mapper  = mapper;
 }
Beispiel #7
0
 public UnitOfWork(GoogleContext context)
 {
     _googleContext = context;
 }
Beispiel #8
0
 protected ManagerBase(GoogleContext context)
 {
     Context = context;
 }
Beispiel #9
0
        public ManagerController(GoogleContext context, IMapper mapper)
        {
            this.context = context;

            this.mapper = mapper;
        }
 public DbInitializerService(GoogleContext context)
 {
     this.context = context;
 }
Beispiel #11
0
 public CategoryManager(GoogleContext context)
     : base(context)
 {
 }
Beispiel #12
0
 public KeywordManager(GoogleContext context)
     : base(context)
 {
 }