Class NpgsqlSequenceValueGeneratorFactory
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
NpgsqlSequenceValueGeneratorFactory
Implements
Namespace: Npgsql.EntityFrameworkCore.PostgreSQL.ValueGeneration.Internal
Assembly: Npgsql.EntityFrameworkCore.PostgreSQL.dll
Syntax
public class NpgsqlSequenceValueGeneratorFactory : INpgsqlSequenceValueGeneratorFactory
Constructors
| Improve this Doc View SourceNpgsqlSequenceValueGeneratorFactory(IUpdateSqlGenerator)
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 NpgsqlSequenceValueGeneratorFactory(IUpdateSqlGenerator sqlGenerator)
Parameters
Type | Name | Description |
---|---|---|
IUpdateSqlGenerator | sqlGenerator |
Methods
| Improve this Doc View SourceCreate(IProperty, NpgsqlSequenceValueGeneratorState, INpgsqlRelationalConnection, IRawSqlCommandBuilder, IRelationalCommandDiagnosticsLogger)
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 ValueGenerator Create(IProperty property, NpgsqlSequenceValueGeneratorState generatorState, INpgsqlRelationalConnection connection, IRawSqlCommandBuilder rawSqlCommandBuilder, IRelationalCommandDiagnosticsLogger commandLogger)
Parameters
Type | Name | Description |
---|---|---|
IProperty | property | |
NpgsqlSequenceValueGeneratorState | generatorState | |
INpgsqlRelationalConnection | connection | |
IRawSqlCommandBuilder | rawSqlCommandBuilder | |
IRelationalCommandDiagnosticsLogger | commandLogger |
Returns
Type | Description |
---|---|
ValueGenerator |