Do I use ORM if I use stored procedures?

If I use stored procedures, can I use ORM?

EDIT:

If I can use ORM, doesn't that hit some of the reason the database is agnostic for using ORM? In other words, why else would I want to use ORM if I bind to a specific database with stored procedures (or is this assumption wrong)?

+5
source share
10 answers

Using ORM to access stored procedures is one of the best uses of ORM. This will give you strongly typed objects, while you still have full control over SQL.

+7
source

ORM "CRUD" . , "CRUD" ORM , .

+3

, , ORM .

, , ORM, . 99%, , ORM, , - - ORM ORM.

+2

.

ORM , ? SP . ORM , . DB-specific, .

, ORM - , .

, - .

, - .

+2

ORM, . ORM, , - -.

+2

, , , ORM .

, /. ORM CRUD- ( , .. , ).

, ORM , () RDMS, ORM - , ORM .

:

ad-hoc, ORM, , , , ORM.

, , , , .. , .

- , LightSpeed ​​ORM ( ) , , .. .., .

+1

"" (?) . , 99% 1% ( 2% 10% - ) //. , .

+1

netTiers , . CRUD, TON . netTiers .

+1

, ORM, , . - iBatis , (N?) Hibernate SQL , .

0

, , , . ORM , CRUD - SP (, , ).

, , . "" . . , " ", - .

" ", , "" . . , , , "" ( ) ORM , . SP ORM, , , " " ( , "vida ΓΊtil" ) TI. , , SP, , .

0

All Articles