i’ve got a question about the tables and stored procedures which are created by aspnet_regsql.exe.
scenario:
-
new empty database: foodb
-
execute the script aspnet_regsql.exe for this Database.
now:
can i add a entity model framework for this Database, and add aditional Entities and associations to the existing Entities (e.g. ASPNET_Users) ?
best regards
So, yes you can bring in any database objects to an entity framework model. I’m not sue why you would want to, because these things aren’t really made to be directly accessed (there are API’s to get to this data).
To your second question of adding new associations, that part I don’t think you can do. As far as memory serves, the EF designer does not allow you to just wire up non-existant association. So you would need to actually make the associations within SQL server, and then import them into the model.
I wouldn’t recommend doing this if you are still using any of the API’s as it might have unintended consequences.