public ModelContext(MetadataModel model, ITrackingInfoProvider trackingInfoProvider) { _model = model; _trackingInfoProvider = trackingInfoProvider; _cleanupTimer = new Timer(WeakReferenceCleanupTimer, null, TimeSpan.FromSeconds(60), TimeSpan.FromSeconds(60)); _attachTransactions = new Dictionary <AttachTransaction, DateTime>(); _entityTransactions = new Dictionary <EntityTransaction, DateTime>(); _attachTransactionsSignal = new ManualResetEvent(true); _entityTransactionsSignal = new ManualResetEvent(true); }
public Core() { this.provider = new DozorDataProvider(); }