Class NpgsqlValueGeneratorCache
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.
Inheritance
object
NpgsqlValueGeneratorCache
Namespace: Npgsql.EntityFrameworkCore.PostgreSQL.ValueGeneration.Internal
Assembly: Npgsql.EntityFrameworkCore.PostgreSQL.dll
Syntax
public class NpgsqlValueGeneratorCache : ValueGeneratorCache, INpgsqlValueGeneratorCache, IValueGeneratorCache
Constructors
| Improve this Doc View SourceNpgsqlValueGeneratorCache(ValueGeneratorCacheDependencies)
Initializes a new instance of the
Declaration
public NpgsqlValueGeneratorCache(ValueGeneratorCacheDependencies dependencies)
Parameters
Type | Name | Description |
---|---|---|
ValueGeneratorCacheDependencies | dependencies | Parameter object containing dependencies for this service. |
Methods
| Improve this Doc View SourceGetOrAddSequenceState(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.
Declaration
public virtual NpgsqlSequenceValueGeneratorState GetOrAddSequenceState(IProperty property, IRelationalConnection connection)
Parameters
Type | Name | Description |
---|---|---|
IProperty | property | |
IRelationalConnection | connection |
Returns
Type | Description |
---|---|
NpgsqlSequenceValueGeneratorState |
Implements
IValueGeneratorCache