Error While Enabling Code-First Migrations On Mobile Services Database

前端 未结 5 1672
你的背包
你的背包 2021-02-07 17:12

I have an Azure Mobile Services project (C# backend) that I recently created and attached to an Azure SQL database. I have been trying to enable Code-First Migrations on that ba

5条回答
  •  夕颜
    夕颜 (楼主)
    2021-02-07 17:50

    I was fighting with this problem today for a few hours. Until I found this link:

    How to make data model changes to a .NET backend mobile service

    If you follow the instructions there, it will definitely work. The main thing is, that the migration will take place, when you hit F5 during a local debugging session.

提交回复
热议问题