Esempio n. 1
0
 public Repository(EfDbContext context)
 {
     if (_googleContext == null)
     {
         _googleContext = new GoogleContext();
     }
     if (this._context == null)
     {
         this._context = context;
     }
 }
Esempio n. 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);
     }
 }
Esempio n. 3
0
 public KnowledgeManager(GoogleContext context)
     : base(context)
 {
 }
 public NoteClass(GoogleContext GK)
 {
     this.Notes = GK;
 }
Esempio n. 5
0
 public UserManager(GoogleContext context)
     : base(context)
 {
 }
Esempio n. 6
0
 public EmployeeController(GoogleContext context, IMapper mapper)
 {
     this.context = context;
     this.mapper  = mapper;
 }
Esempio n. 7
0
 public UnitOfWork(GoogleContext context)
 {
     _googleContext = context;
 }
Esempio n. 8
0
 protected ManagerBase(GoogleContext context)
 {
     Context = context;
 }
Esempio n. 9
0
        public ManagerController(GoogleContext context, IMapper mapper)
        {
            this.context = context;

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