This question is locked. New answers and comments are not allowed.
All:
I need to add a database (SQL Server) view instead of a table. I can do that easily. I am doing this so I can have a few additional fields included in the view that wouldn't otherwise be included in any object and are not part of the table. I now need to map stored procedures to the view to do the update, create, and delete functions. I see lots of references to this online, but with regards to the old menu options and reverse mapping screens that don't exist in the new domain model setup.
In the mapping window, I see where I can check off to map a stored procedure and it creates a stored procedure in the model when I check that off. However, these stored procedures are not correct because they include all the fields in the view. I really want to update just the fields that exist in the underlying table. For example, I may have added a field from a lookup table. That field doesn't get updated back into the database.
How can I either:
* Alter the stored procedures that it create
* Preferably, use my own stored procedures that I create.
Thanks,
Chris
I need to add a database (SQL Server) view instead of a table. I can do that easily. I am doing this so I can have a few additional fields included in the view that wouldn't otherwise be included in any object and are not part of the table. I now need to map stored procedures to the view to do the update, create, and delete functions. I see lots of references to this online, but with regards to the old menu options and reverse mapping screens that don't exist in the new domain model setup.
In the mapping window, I see where I can check off to map a stored procedure and it creates a stored procedure in the model when I check that off. However, these stored procedures are not correct because they include all the fields in the view. I really want to update just the fields that exist in the underlying table. For example, I may have added a field from a lookup table. That field doesn't get updated back into the database.
How can I either:
* Alter the stored procedures that it create
* Preferably, use my own stored procedures that I create.
Thanks,
Chris