Jump to content

Entity Framework and SQL procedures :/

- - - - -

  • Please log in to reply
No replies to this topic

#1
Halfie44

Halfie44

    Newbie

  • Members
  • PipPip
  • 14 posts
Hey guys for a while now ive been using the .net entity framework for connecting to databases and understanding it quite well, but ive now come round to using stored procedures and im majorly confused.

Basically Ive got a staff table with a date of birth field and i want to create a stored procedure to take that date of birth and compare with the current date, thus giving me the age of the member of staff, now i think i can do this but my problem is how do i call it in entity framework, when i imported in a simple stored procedure i couldn't find anyway to call it.

Cheers
Halfie




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users