romiller.com

Program Manager on the .NET team at Microsoft

Skip to content
  • Home
Search

Month: April 2013

EF6: Switching Identity On/Off with a Custom Migration Operation

April 30, 2013November 16, 2016 / romiller.com

Here is the scenario, I have a class in my Code First model that has a primary key configured as an identity column. I want to change it so that I can generate values in my code. Alternatively I may want to change an existing column - that my code is generating values for - … Continue reading EF6: Switching Identity On/Off with a Custom Migration Operation

Blog at WordPress.com.
  • Subscribe Subscribed
    • romiller.com
    • Join 262 other subscribers
    • Already have a WordPress.com account? Log in now.
    • romiller.com
    • Subscribe Subscribed
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar