Sql server available. I want to migrate a database using Entity Framework migration. There I have an βImagesβ table with 130x records that have images. When migrating, "INDEX" is added to the table using "CREATE INDEX". I get a SqlException
that the command timed out. But in the connection string, I can only determine the connection timeout. I tried to determine the command timeout here: (IObjectContextAdapter)DbContext.ObjectContext.CommandTimeout
, but that did not help me. And in DbMigrator too, but it has no such property anywhere.
So, I need help, I have to define a CommandTimeout
for migration to the Entity Framework, but I donβt know how to do it. Help me plz sorry for bad english
source share