Hi everyone,
i use Entity Developer for NH 6.4.719 with NHibernate. In my NHibernateSessionFactory, i have a SchemaUpdate, which should check my Db Schema. It always add existed foreign keys to the schema, because it doesn't recognize the existing ones.
I try to add the foreign key name to the fluent mapping (.ForeignKey("FK_NAME")), but i am unable to find the foreign key name in the template.
Does anybody know how to get the foreign key name in the template or to solve the problem in another way?
Best regards
Michael
How to get the ForeignKey Name in the FluentMapping Template
-
- Posts: 7
- Joined: Fri 01 Jun 2018 10:52
Re: How to get the ForeignKey Name in the FluentMapping Template
We have reproduced the issue with creating extra FK by SchemaUpdate basing on fluent mapping generated by the Fluent NHibernate template. We will notify you about the result of our investigation.
-
- Posts: 7
- Joined: Fri 01 Jun 2018 10:52
Re: How to get the ForeignKey Name in the FluentMapping Template
Hello Shalex,
any news on this issue?
Best regards
Michael
any news on this issue?
Best regards
Michael
Re: How to get the ForeignKey Name in the FluentMapping Template
The investigation is in progress. As soon as we have any results, we will contact you.
-
- Posts: 7
- Joined: Fri 01 Jun 2018 10:52
Re: How to get the ForeignKey Name in the FluentMapping Template
Hello Shalex,
any news on this issue after 4 months?
Best regards
Michael
any news on this issue after 4 months?
Best regards
Michael
Re: How to get the ForeignKey Name in the FluentMapping Template
There is no timeframe at the moment. We will notify you about the progress.