.net - Membership and linking user to custom table -
basically i'd utilize default .net membership since don't need special out of user whole, need connect user sort of log/history table, simple making foreign key out of user id in table? or there more complicated trick it?
i additionally create view model user info id
, username
etc..(similar registermodel
) i'd utilize log/history within application. looks me it's possible bugging me...
so, possible or not?
update
usermodel logmodel public guid id {get; set;} public int id {get; set;} public string username {get; set;} public string actiontaken {get; set;} public string email {get; set;} public guid userid {get; set;} public virtual usermodel user {get; set;}
it might useful note, i'm doing database first, , using dbcontext
ef tool starting code generation, , afterwards ofc add together deem necessary.
my first sentiment i'm missing mapping or similar...
.net asp.net-mvc asp.net-membership
No comments:
Post a Comment