public static void RegisterOData <TCtx, T>(this DbSync <TCtx> sync, Func <TCtx, DataServiceQuery <T> > queryCtor, Func <DataServiceQuery <T>, DateTime, IQueryable <T> > queryUpdate, Func <TCtx, DateTime, IQueryable <DeletedObject> > deletedQueryCtor, params string[] tags) where T : class, ITimestamp where TCtx : DataServiceContext { sync.Register <T>(CreateQuery(queryCtor, queryUpdate), CreateDeletedQuery(deletedQueryCtor), tags); }
public SyncInfoDeletable(DbSync sync, Func <object, DateTime?, IEnumerable <Task <IEnumerable <TEntity> > > > queryCtor) : base(sync) { _queryCtor = queryCtor; }
protected SyncInfo(DbSync sync) { _sync = sync; }