/// <summary> /// This API supports the Entity Framework Core infrastructure and is not intended to be used /// directly from your code. This API may change or be removed in future releases. /// </summary> public FileContextTable([NotNull] IPrincipalKeyValueFactory <TKey> keyValueFactory, IEntityType _entityType, FileContextIntegerValueGeneratorCache _idCache, FileContextOptionsExtension _options) { idCache = _idCache; entityType = _entityType; options = _options; _keyValueFactory = keyValueFactory; _rows = Init(); }
private static Func <IFileContextTable> CreateFactory <TKey>(IKey key, FileContextIntegerValueGeneratorCache idCache, FileContextOptionsExtension options) => () => new FileContextTable <TKey>(key.GetPrincipalKeyValueFactory <TKey>(), key.DeclaringEntityType, idCache, options);
public FileContextTableFactory(FileContextIntegerValueGeneratorCache _idCache) { idCache = _idCache; }