You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey, in order to consume stored procedures, as per #1864, I created a new entity type just to match the return type of the stored procedure. Since that entity does not reflect an actual table, I would like it to be mostly ignored by the database context though. I especially don’t want to create migrations for the entity that would result in creating a new table.
Is there any way to only register entities in a database context so that I can use them for mapping stored procedure results but ignore them for everything else?
Of course I can manually handle this for the time being by just removing the table completely from the generated migrations, but I would rather register the entity type properly in the first place. I’m aware that as per #245, support for stored procedures isn’t completed yet.
The text was updated successfully, but these errors were encountered:
Hey, in order to consume stored procedures, as per #1864, I created a new entity type just to match the return type of the stored procedure. Since that entity does not reflect an actual table, I would like it to be mostly ignored by the database context though. I especially don’t want to create migrations for the entity that would result in creating a new table.
Is there any way to only register entities in a database context so that I can use them for mapping stored procedure results but ignore them for everything else?
Of course I can manually handle this for the time being by just removing the table completely from the generated migrations, but I would rather register the entity type properly in the first place. I’m aware that as per #245, support for stored procedures isn’t completed yet.
The text was updated successfully, but these errors were encountered: