bubibubi / JetEntityFrameworkProvider

Microsoft Access (Jet) Entity Framework provider
89 stars 26 forks source link

How to set the description of a column? #41

Closed PatriceDargenton closed 5 years ago

PatriceDargenton commented 5 years ago

There is a solution here for Entity Framework: https://stackoverflow.com/questions/38996810/in-ef-code-first-is-there-a-data-annotation-for-description-field

But the query (sp_addextendedproperty) is not valid for MS-Access. Any solution?

bubibubi commented 5 years ago

At low level, the only way to set description is to use ADOX (but I never tried it). In JetEntityFrameworkProvider I never use ADOX (I use it in EF.Core but there are some limitations). You can try to use ADOX but then your app probably will run only in 32 bit mode.

PatriceDargenton commented 5 years ago

OK, thank you for the information.