public InternalAccessorManager(IOptionsMonitor <DataExtensionOptions> optionsMonitor, IAccessorMigrator migrator, IAccessorResolver resolver, IShardingManager shardingManager) { _optionsMonitor = optionsMonitor; _migrator = migrator; _shardingManager = shardingManager; Accessors = resolver.ResolveAccessors(); if (Accessors.Count < 1) { throw new ArgumentNullException($"The accessors not found, verify that accessor extensions are registered. ex. \"services.AddDbContext<TContext>(opts => opts.UseXXX<Database>().UseAccessor());\""); } }
public DataService( IAccessorResolver <IDataAccessor> dataAccessor) { DataAccessor = dataAccessor.Accessor; }
public PrimitiveBuilder(IAccessorResolver accessorResolver, Stream indicesStream, Dictionary <int, int> indicesAccessorIndexToByteOffset) => (this.accessorResolver, this.indicesStream, this.indicesAccessorIndexToByteOffset) = (