Click here to Skip to main content
15,890,185 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
My company wants to have the logic as much as possible in the stored procedure and do not want me to involve in creating them. The tables are already existing and have a system analyst to worry about the creation of the additonal tables and stored procedures.
1. In this case, can i use entity framework for my asp.net application?
2. Also does it make the application work/respond really slow if i use stored procedures all the time without entity framework?
3. Can i use stored procedures along with entity framework?, but i guess the point of having all the logic in the stored procedure will be neglected?
4. Just incase if i can't use the entity framework, what is the best secure architecture to use so that i don't have to open database connection very often, like how entity framework manages and can i use Linq without entity framework?
5. What is Data Access Blocks used for, can i use it with odp.net?
Posted

1 solution

Hi,

1. In this case, can i use entity framework for my asp.net application?

Yes, you can use entity frame work.

2. Also does it make the application work/respond really slow if i use stored procedures all the time without entity framework?

No, not really. But If you use via entity framework it will be faster.

3. Can i use stored procedures along with entity framework?, but i guess the point of having all the logic in the stored procedure will be neglected?

Yes, you can use via entity framework. But if you are use optimistic locking you need to write extra code for that.

4. Just incase if i can't use the entity framework, what is the best secure architecture to use so that i don't have to open database connection very often, like how entity framework manages and can i use Linq without entity framework?

No, Use Linq along with entity framework it will be faster.

5. What is Data Access Blocks used for, can i use it with odp.net?

Yes, Use odp.net as your data block.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900