public Repository(EfDbContext context) { if (_googleContext == null) { _googleContext = new GoogleContext(); } if (this._context == null) { this._context = context; } }
/// <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); } }
public KnowledgeManager(GoogleContext context) : base(context) { }
public NoteClass(GoogleContext GK) { this.Notes = GK; }
public UserManager(GoogleContext context) : base(context) { }
public EmployeeController(GoogleContext context, IMapper mapper) { this.context = context; this.mapper = mapper; }
public UnitOfWork(GoogleContext context) { _googleContext = context; }
protected ManagerBase(GoogleContext context) { Context = context; }
public ManagerController(GoogleContext context, IMapper mapper) { this.context = context; this.mapper = mapper; }
public DbInitializerService(GoogleContext context) { this.context = context; }
public CategoryManager(GoogleContext context) : base(context) { }
public KeywordManager(GoogleContext context) : base(context) { }