This question is locked. New answers and comments are not allowed.
Hey, is there possibility to create MembershipUser class inside partial class of model ?
Because I got at bold line this error
public partial class User
{
[Transient]
public MembershipUser _user = Membership.GetUser();
public User()
{
}
public Guid GetGUID()
{
return (Guid)_user.ProviderUserKey;
}
}