I have a table mapped to PostGre, but when I update the database, the PersonFisicaEnderecoTipoId Field is being auto-incremented by 10 (by default). How do I map so that IncrementBy is set to autoincrement by 1 in 1?
TableMapping:
publicclassPessoaFisicaEnderecoTipoMap:IEntityTypeConfiguration<PessoaFisicaEnderecoTipo>{publicvoidConfigure(EntityTypeBuilder<PessoaFisicaEnderecoTipo>builder){builder.ToTable("PessoaFisicaEnderecoTipo");
builder.HasKey(pfet => pfet.Id);
builder.Property(pfet => pfet.Id)
.HasColumnName("PessoaFisicaEnderecoTipoId")
.ForNpgsqlUseSequenceHiLo()
.IsRequired();
builder.Property(pfet => pfet.Descricao)
.HasColumnName("Descricao")
.HasColumnType("character varying(50)")
.IsRequired();
builder.Property(pfet => pfet.PadraoSistema)
.HasColumnName("PadraoSistema")
.HasColumnType("boolean");
}
}