阅读背景:

找不到对象“dbo.Addresses”,因为它不存在或者您没有权限

来源:互联网 

My code is like this

我的代码是这样的

 public class Address
{
    public int Id { get; set; }
    public string City { get; set; }
    public int PostNo { get; set; }
    public string Street { get; set; }

}

 public class ApplicationDbContext : IdentityDbContext<ApplicationUser>
{
    public ApplicationDbContext()
        : base("DefaultConnection", throwIfV1Schema: false)
    {
    }

    public static ApplicationDbContext Create()
    {
        return new ApplicationDbContext();
    }
    public System.Data.Entity.DbSet<MearnIt.Models.Address> Addresses { get; set; }
   }
 public class



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: