What I did in this situation was to create a view in SQL Server that selects from my own user table and joins one or two columns from ASP.NET tables. Then I map the User object to this view using ToTable () in the DbContext.
This is good enough for me; just note that you cannot use the UPDATE statement in an SQL view if it affects columns from more than one table, so properties from ASP.NET tables should not be changed using EF (how you do this depends on your implementation).
source
share