In ASP.NET MVC 3 with Default Membership Provider I would create relationships with

public virtual Guid UserGuid { get; set; }
public virtual MembershipUser User
{
    get
    {
        return Membership.GetUser(UserGuid);
    }
}

In ASP.NET MVC 4 with Simple Membership Provider what is the equivalent method of Membership.GetUser() and class MembershipUser that are compatible with SMP?

有帮助吗?

解决方案

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top