A
A
Anton Tarara2016-06-28 12:21:17
ASP.NET
Anton Tarara, 2016-06-28 12:21:17

How to implement the connection of the model with the user model?

Good afternoon. The standard application and authorization scheme is used. How to connect any model with the user model? For example, the Post or Comment model.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey, 2016-06-28
@senal

You can create an entity, bind it to the same tables and fields as identity, generate a named migration and remove the creation of a table in it. Then you can add properties and relationships to other entities.
ZY
Working with two models in one project is not very convenient, you can take out the identity model or a new one in a separate project.
ZZY
And why not add to the existing model?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question