Class NpgsqlValueGeneratorCache
- Assembly
- Npgsql.EntityFrameworkCore.PostgreSQL.dll
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.
public class NpgsqlValueGeneratorCache : ValueGeneratorCache, INpgsqlValueGeneratorCache, IValueGeneratorCache
- Inheritance
-
NpgsqlValueGeneratorCache
- Implements
- Inherited Members
Constructors
NpgsqlValueGeneratorCache(ValueGeneratorCacheDependencies)
Initializes a new instance of the ValueGeneratorCache class.
public NpgsqlValueGeneratorCache(ValueGeneratorCacheDependencies dependencies)
Parameters
dependencies
ValueGeneratorCacheDependenciesParameter object containing dependencies for this service.
Methods
GetOrAddSequenceState(IProperty, IRelationalConnection)
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.
public virtual NpgsqlSequenceValueGeneratorState GetOrAddSequenceState(IProperty property, IRelationalConnection connection)
Parameters
property
IPropertyconnection
IRelationalConnection