/// <summary> /// Initializes a new instance of the <see cref="LocalFileContext"/> class. /// </summary> /// <param name="provider">The provider.</param> /// <param name="p">The p.</param> private LocalFileContext(IDalObjectProvider provider, SqlLiteFactoryProvider p) : base(provider, new ManagersFactory(p)) { _currentUser = new User { Login = "******" }; }
/// <summary> /// Initializes the <see cref="KbContext"/> class. /// </summary> /// <param name="provider">The provider.</param> /// <param name="factory">The factory.</param> public KbContext(IDalObjectProvider provider, IManagersFactory factory) : base(provider) { if (provider == null) { throw new ArgumentNullException("provider"); } if (factory == null) { throw new ArgumentNullException("factory"); } _factory = factory; }
public GoogleContext(IDalObjectProvider provider) : base(provider, new ManagersFactory()) { }
/// <summary> /// Initializes a new instance of the <see cref="DalContext"/> class. /// </summary> /// <param name="provider">The provider.</param> public DalContext(IDalObjectProvider provider) : base(provider) { _provider = provider; }