【发布时间】:2020-07-30 11:50:18
【问题描述】:
我使用 EF 代码优先方法并通过 包管理器控制台
更改数据库尝试将列 invoiceno 日期时间更改为长
添加迁移“消息”
Update-Database 命令返回错误
Implicit conversion from data type datetime to bigint is not allowed. Use the CONVERT function to
run this query.
【问题讨论】:
标签: entity-framework ef-code-first alter-column