entity framework - EF DbMigration Sql update not running from embedded resource -
using entity framework 6 automated migrations, i'm trying execute sql embedded resource file using sqlresource
. following script doesn't work correctly - seems update column empty string. work correctly if run script directly in ssms.
update [emailtemplates] set html = 'xyz' [type] = 'confirmemail'
if simple works:
alter table emailtemplates add somecolumn nvarchar null
the "html" column of type nvarchar(max) null
. ideas?
Comments
Post a Comment