コード例 #1
0
ファイル: ModelContext.cs プロジェクト: codeworxOS/Lucile
 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);
 }
コード例 #2
0
 public Core()
 {
     this.provider = new DozorDataProvider();
 }