I am able to follow this example from Microsoft here completely fine. I'm using UWP by the way.
Now, I am trying to make changes, say, by adding some NewColumn
property to the Blog
class. Ran another Add-Migration
command, and I get the "No such column" error on NewColumn
.
What should I do to make the update? I understand that Update-Database
doesn't work on UWP. Thanks!
由于sqlite引擎的限制,您无法通过迁移将列添加到sqlite数据库-请参阅https://docs.microsoft.com/zh-cn/ef/core/providers/sqlite/limitations
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.