I use EF code first approach and altering database by package manager console
Trying to change column invoiceno Datetime to long
Add-migration "message"
Update-Database command returns error
Implicit conversion from data type datetime to bigint is not allowed. Use the CONVERT function to
run this query.
insert before