Hello together,
if i use code first in ef, exist a way to automatic add the xml comments of a property to the database column-comments (oracle)?
thx
Code First Comments from Code to DB
Code First Comments from Code to DB
Last edited by Flo on Wed 24 May 2017 08:38, edited 1 time in total.
Re: Code First Comments from Code to DB
There is no way to set comments in fluent mapping to migrate them to database in runtime.
Re: Code First Comments from Code to DB
Thanks for responding,
I maked a post in the user-voice (https://devart.uservoice.com/forums/105 ... code-to-db). I think its not a problem to parse the xml and to insert these
values with sql. A pity thats not out of the box possbible.
Flo
I maked a post in the user-voice (https://devart.uservoice.com/forums/105 ... code-to-db). I think its not a problem to parse the xml and to insert these
values with sql. A pity thats not out of the box possbible.
Flo
Re: Code First Comments from Code to DB
Thank you for your vote.
JIC: this is a complicated task, because the XML documentation comments are not metadata; they are not included in the compiled assembly and therefore they are not accessible through reflection.
JIC: this is a complicated task, because the XML documentation comments are not metadata; they are not included in the compiled assembly and therefore they are not accessible through reflection.