public Int32TickProvider(IJetConnectionProvider jetConnectionProvider, SdataContext context) { _jetConnectionProvider = jetConnectionProvider; _context = context; StoreEnvironment.Initialize(jetConnectionProvider, context); }
public SyncDigestInfoStoreProvider(IJetConnectionProvider jetConnectionProvider, SdataContext context) { _jetConnectionProvider = jetConnectionProvider; _context = context; StoreEnvironment.Initialize(jetConnectionProvider, context); }
public Int32tickProvider(IJetConnectionProvider jetConnectionProvider, SdataContext context) { _jetConnectionProvider = jetConnectionProvider; _context = context; StoreEnvironment.Initialize(jetConnectionProvider, context); }
public SyncResultsInfoStoreProvider(IJetConnectionProvider jetConnectionProvider, SdataContext context) { _jetConnectionProvider = jetConnectionProvider; _context = context; StoreEnvironment.Initialize(jetConnectionProvider, context); }
public AppBookmarkInfoStoreProvider(IJetConnectionProvider jetConnectionProvider, IAppBookmarkSerializer serializer, SdataContext context) { _jetConnectionProvider = jetConnectionProvider; _serializer = serializer; _context = context; StoreEnvironment.Initialize(jetConnectionProvider, context); }
public AppBookmarkInfoStoreProvider(IJetConnectionProvider jetConnectionProvider, IAppBookmarkSerializer serializer, SdataContext context) { _jetConnectionProvider = jetConnectionProvider; _serializer = serializer; _context = context; StoreEnvironment.Initialize(jetConnectionProvider, context); }
public static void Initialize(IJetConnectionProvider connProvider, SdataContext context) { StoreEnvironmentItem item = null; lock (lockObj) { if (stat_EnvironmentItems.TryGetValue(context, out item)) { return; } item = new StoreEnvironmentItem(); item.Register <IJetConnectionProvider>(connProvider); TableAdapterFactory tableAdapterFactory = new TableAdapterFactory(context, connProvider); IResourceKindTableAdapter resourceKindTableAdapter = tableAdapterFactory.CreateResourceKindTableAdapter(); item.Register <IResourceKindTableAdapter>(resourceKindTableAdapter); IEndpointTableAdapter endpointTableAdapter = tableAdapterFactory.CreateEndpointTableAdapter(); item.Register <IEndpointTableAdapter>(endpointTableAdapter); item.Register <ISyncDigestTableAdapter>(tableAdapterFactory.CreateSyncDigestTableAdapter(resourceKindTableAdapter, endpointTableAdapter)); item.Register <IAppBookmarkTableAdapter>(tableAdapterFactory.CreateAppBookmarkTableAdapter(resourceKindTableAdapter)); item.Register <ITickTableAdapter>(tableAdapterFactory.CreateTickTableAdapter(resourceKindTableAdapter)); Dictionary <string, ICorrelatedResSyncTableAdapter> correlatedResSyncTableAdapters = new Dictionary <string, ICorrelatedResSyncTableAdapter>(); item.Register <Dictionary <string, ICorrelatedResSyncTableAdapter> >(correlatedResSyncTableAdapters); Dictionary <string, ISyncResultsTableAdapter> syncResultsTableAdapters = new Dictionary <string, ISyncResultsTableAdapter>(); item.Register <Dictionary <string, ISyncResultsTableAdapter> >(syncResultsTableAdapters); //item.Register<ISyncResultsTableAdapter>(tableAdapterFactory.CreateSyncResultsTableAdapter(resourceKindTableAdapter)); stat_EnvironmentItems.Add(context, item); } }
public CorrelatedResSyncStoreProvider(IJetConnectionProvider jetConnectionProvider, SdataContext context) { _jetConnectionProvider = jetConnectionProvider; _context = context; StoreEnvironment.Initialize(jetConnectionProvider, context); }
public TableAdapterFactory(SdataContext context, IJetConnectionProvider connProvider) { _context = context; _connProvider = connProvider; }
public TableAdapterFactory(SdataContext context, IJetConnectionProvider connProvider) { _context = context; _connProvider = connProvider; }
public tickProvider(IJetConnectionProvider jetConnectionProvider, SdataContext context) { _tickProvider = new Int32tickProvider(jetConnectionProvider, context); }
public SyncResultInfoStore(IJetConnectionProvider jetConnectionProvider, SdataContext context) { _provider = new SyncResultsInfoStoreProvider(jetConnectionProvider, context); }
public SyncResultInfoStore(IJetConnectionProvider jetConnectionProvider, SdataContext context) { _provider = new SyncResultsInfoStoreProvider(jetConnectionProvider, context); }
public CorrelatedResSyncStoreProvider(IJetConnectionProvider jetConnectionProvider, SdataContext context) { _jetConnectionProvider = jetConnectionProvider; _context = context; StoreEnvironment.Initialize(jetConnectionProvider, context); }
public tickProvider(IJetConnectionProvider jetConnectionProvider, SdataContext context) { _tickProvider = new Int32tickProvider(jetConnectionProvider, context); }