locked
Change data type of ASP.net Identity RRS feed

  • Question

  • User-590094232 posted
    namespace Microsoft.AspNet.Identity.EntityFramework
    {
        public class IdentityUser : IUser
        {
            public IdentityUser();
            public IdentityUser(string userName);
    
            public virtual ICollection<IdentityUserClaim> Claims { get; }
            public virtual string Id { get; set; }
            public virtual ICollection<IdentityUserLogin> Logins { get; }
            public virtual string PasswordHash { get; set; }
            public virtual ICollection<IdentityUserRole> Roles { get; }
            public virtual string SecurityStamp { get; set; }
            public virtual string UserName { get; set; }
        }
    }

    This is new membership system of ASP.net ( go with Visual Studio 2013 released ).

    The Datatype of ID is string. How to change it to int  ( also auto increment).

    The table name  reflected of this table is "AspNetUsers" how to make it become "Users"

    Sunday, October 20, 2013 6:53 AM

Answers

  • User1297564232 posted

    REfer

    http://forums.asp.net/t/1918366.aspx

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Sunday, October 20, 2013 7:27 AM