c# - How to remove a constraint on table using entity framework db migrations -


i'm trying alter type of table column int long.

altercolumn("dbo.files", "size", c => c.long(nullable: false)); 

it's throwing error on migration:

the object 'df__files__size__1fcdbceb' dependent on column 'size'. alter table alter column size failed because 1 or more objects access column. 

how remove constraint in entity framework... migration, put in?


Comments

Popular posts from this blog

How can we post XML strings along with text strings in iOS -

c# - cefsharp app remember password option -

linux - Writing to Embedded Controller registers in Ubuntu 14.04 -