Invalid object name 'dbo.TableName' when retrieving data from generated table

前端 未结 5 1347
感情败类
感情败类 2021-01-19 07:23

I\'m using entity framework code first to create my tables. Please note - create the tables, not the DB, since I\'m working on a hosted environment and I don\'t have a user

5条回答
  •  谎友^
    谎友^ (楼主)
    2021-01-19 08:00

    Try to set default schema name to 'dbo' in SQL SERVER.

    http://msdn.microsoft.com/en-us/library/ms173423.aspx

提交回复
热议问题