← Customer Feedback for Devart Settings and activity 2 results found Unique Constraints in the Entity Framework 144 votes Vote Vote Vote Vote We're glad you're herePlease sign in to leave feedback Signed in as (Sign out) Close Close 1 vote 2 votes 3 votes Remove votes You have left! (?) (thinking…) 3 comments · ADO.NET Entity Framework Support · Delete… · Admin → How important is this to you? Not at all You must login first! Important You must login first! Critical You must login first! We're glad you're herePlease sign in to leave feedback Signed in as (Sign out) Close Close An error occurred while saving the comment Remco Blok commented · Dec 9, 2011 · Edit… · Delete… It looks like unique constraints can also be added through EF Code First Migrations. See http://blogs.msdn.com/b/adonet/archive/2011/11/29/code-first-migrations-beta-1-no-magic-walkthrough.aspx. There is another suggestion on uservoice for adding Code First Migrations support to DevArt here http://devart.uservoice.com/forums/105163-ado-net-entity-framework-support/suggestions/1883603-code-first-database-evolution-database-schema- Save Submitting... Remco Blok shared this idea · Mar 14, 2011 EF Code First: Dynamic Database Creation configurability 37 votes Vote Vote Vote Vote We're glad you're herePlease sign in to leave feedback Signed in as (Sign out) Close Close 1 vote 2 votes 3 votes Remove votes You have left! (?) (thinking…) under review · 0 comments · ADO.NET Entity Framework Support · Delete… · Admin → How important is this to you? Not at all You must login first! Important You must login first! Critical You must login first! We're glad you're herePlease sign in to leave feedback Signed in as (Sign out) Close Close Remco Blok supported this idea · Apr 5, 2012
It looks like unique constraints can also be added through EF Code First Migrations. See http://blogs.msdn.com/b/adonet/archive/2011/11/29/code-first-migrations-beta-1-no-magic-walkthrough.aspx. There is another suggestion on uservoice for adding Code First Migrations support to DevArt here http://devart.uservoice.com/forums/105163-ado-net-entity-framework-support/suggestions/1883603-code-first-database-evolution-database-schema-