خرید بک لینک

Vote count: 0

I have created a Database-First model in EF6, and using existing database to generate the model and classes, now I need to override some required constraints in the database (in other words, some required columns are filled by triggers, so I do not need to send these columns values from the code). How can I achieve that?

I tried alterfing OnModelCreateing() method in myDbContext but I believe because I am using "Database-first" approach this method is not called.

asked 50 secs ago

برچسب: نویسنده: استخدام کار تاريخ: شنبه 1 خرداد 1395 ساعت: 5:25

صفحه بندی