# Interface INpgsqlSequenceValueGeneratorFactory

Namespace
  Npgsql.EntityFrameworkCore.PostgreSQL.ValueGeneration.Internal

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 interface INpgsqlSequenceValueGeneratorFactory

## Methods

### Create(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.

    ValueGenerator Create(IProperty property, NpgsqlSequenceValueGeneratorState generatorState, INpgsqlRelationalConnection connection, IRawSqlCommandBuilder rawSqlCommandBuilder, IRelationalCommandDiagnosticsLogger commandLogger)

#### Parameters

`property` IProperty
`generatorState` NpgsqlSequenceValueGeneratorState
`connection` INpgsqlRelationalConnection
`rawSqlCommandBuilder` IRawSqlCommandBuilder
`commandLogger` IRelationalCommandDiagnosticsLogger

#### Returns

ValueGenerator