locked
 Complete solution of IdentityDbContext<TUser, TRole, TKey, TUserLogin, TUserRole, TUserClaim> RRS feed

  • Question

  • I am new in entity framework,

    I got the link https://msdn.microsoft.com/en-us/library/microsoft.aspnet.identity.entityframework.identitydbcontext(v=vs.108).aspx

    but didn't get what is use of <TUser, TRole, TKey, TUserLogin, TUserRole, TUserClaim. mainly TUserLogin,TUserClaim

    I googled it but didn't get exactly use of the keywords.



    • Edited by Anand Rajan Thursday, January 14, 2016 6:12 AM
    • Moved by DotNet Wang Friday, January 15, 2016 1:24 AM
    Thursday, January 14, 2016 6:11 AM

Answers

All replies

  • Hi Anand Rajan,

    Like you mentioned, your case more related to  entity framework, I will move your case to EF forum for better support.

    Best regards,

    Kristin


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Friday, January 15, 2016 1:23 AM
  • it is part of Asp.net Identity framework

    more details please refer to

    http://www.asp.net/identity


    DON'T TRY SO HARD,THE BEST THINGS COME WHEN YOU LEAST EXPECT THEM TO.

    Tuesday, January 19, 2016 5:49 AM
  • Hi Anand,

    it represents a generic IdentityDbContext base that can be customized with entity types that extend from the base

    You could refer to the following links for detail.

    https://msdn.microsoft.com/en-us/library/dn613255(v=vs.108).aspx

    https://gist.github.com/koistya/1e7b0a10224c8932e625

    the following link is a sample about IdentityDbContext for your reference.

    https://github.com/JSkimming/AspNet.Identity.EntityFramework.Multitenant/blob/master/src/AspNet.Identity.EntityFramework.Multitenant/MultitenantIdentityUser.Generic.cs

    Best regards,

    Cole Wu





    Tuesday, January 19, 2016 7:51 AM