Closed alexandredsimoes closed 6 years ago
@alexandredsimoes Thanks for reporting this, I'll be resolving this as soon as possible. I'll tell you about the progress!
I solved the problemn with custom FK names:
modelBuilder.Entity<Configuracao>()
.HasOne(p => p.TipoDocumentoComissaoLocacao)
.WithOne()
.HasForeignKey<Configuracao>(c=>c.TipoDocumentoComissaoLocacaoId)
.HasConstraintName("FK_Comiss_Loc");
@alexandredsimoes Did you get my email, where did I tell you about this limitation, the size of the names for Firebird?
Yeah. Thank you for the support.
I have a class with the actual structure:
When i call dbContext.Database.EnsuredCreated(), the following sql script is generated:
The Constrainst name "FK_Configuracao_TipoDocumento_T" is repeated for each generated column, throwing a exception.
Firebird version: 3.0 EntityFrameworkCore.FirebirdSql version: 2.0.11.6