VS SQL Server对象资源管理器中未显示的表

VS SQL Server对象资源管理器中未显示的表,sql,asp.net-mvc,entity-framework,visual-studio-2015,server-explorer,Sql,Asp.net Mvc,Entity Framework,Visual Studio 2015,Server Explorer,我正在尝试开发我的第一个web应用程序。我首先使用的是ASP.NETMVC+EF代码 我使用的是dbContext,可以读取和保存/添加数据,但在SQL Server对象资源管理器中不显示表(系统表除外) 我正在使用这样的连接字符串: <connectionStrings> <add name="TargowiskoContext" connectionString="Data Source=(localdb)\MSSQLLocalDB;Initial Ca

我正在尝试开发我的第一个web应用程序。我首先使用的是ASP.NETMVC+EF代码

我使用的是dbContext,可以读取和保存/添加数据,但在SQL Server对象资源管理器中不显示表(系统表除外)

我正在使用这样的连接字符串:

      <connectionStrings>
    <add name="TargowiskoContext" connectionString="Data Source=(localdb)\MSSQLLocalDB;Initial Catalog=Targowisko;Integrated Security=True;Connect Timeout=30;Encrypt=False;TrustServerCertificate=True;ApplicationIntent=ReadWrite;MultiSubnetFailover=False"/>
  </connectionStrings>


        public TargowiskoContext() : base("TargowiskoContext")
    {

    }


    public DbSet<Advertisement> Advertisements { get; set; }
    public DbSet<Category> Categories { get; set; }
    public DbSet<Conversation> Conversations { get; set; }
    public DbSet<Message> Messages { get; set; }
    public DbSet<Transaction> Transactions { get; set; }
    public DbSet<User> Users { get; set; }
}
我已将SQL工具更新为最新版本。我可以在VS SQL Server对象资源管理器中手动添加表,然后它在SSOE中可见并保存。
有人知道问题出在哪里/如何解决吗?

您在服务器对象浏览器中点击“刷新”了吗?是的,我点击了“刷新”按钮。
    public class Advertisement
{
    public  int AdvertisementID { get; set; } 
    public string AdvertisementTitle { get; set; }
    public string AdvertisementContent { get; set; }
    public string ImageFileName { get; set; }
    public decimal Price { get; set; }
    public bool IsHidden { get; set; }
    public DateTime DateAdded { get; set; }
    public DateTime DateRecentlyModified { get; set; }
    public int PublisherID { get; set; }
    public int CategoryID { get; set; }
    public virtual User Publisher { get; set; }
    public virtual Category Category { get; set; }
}