This is a migrated thread and some comments may be shown as answers.

Stored Procedure Script not created

1 Answer 38 Views
Databases and Data Types
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Robert
Top achievements
Rank 1
Robert asked on 14 Nov 2011, 12:10 PM
Hi

I have created a new database from scratch with two tables Users and Companies.  I used the reverse Mapping to create my classes.

I now want to create the CRUD stored procedures. I can create them in the model but when I use the update database from model the stored procedures are not created !

Or though I can see them in the model.

I am creating an MVC Project if that has any bearing on my problem

Thanks Rob

1 Answer, 1 is accepted

Sort by
0
PetarP
Telerik team
answered on 18 Nov 2011, 09:11 AM
Hello Robert,

 You can open the mapping details editor for any given class and choose the required stored procedures that you would like to be used for the CUD operations. OpenAccess will automatically generate those procedures for you next time you run the update database from model wizard. Be advice that OpenAccess does not generate automatic Read operations. Those operations need to be available in your database model and the only way to use them would be to reverse map them.

Best wishes,
Petar
the Telerik team

NEW and UPDATED OpenAccess ORM Resources. Check them out!

Tags
Databases and Data Types
Asked by
Robert
Top achievements
Rank 1
Answers by
PetarP
Telerik team
Share this question
or