Home / General / Entity Framework - Object Services Level. Executing Stored Procedures for Query.
digWin is a community news sharing site for Microsoft Techies. Share interesting news/links and rate them!

Entity Framework - Object Services Level. Executing Stored Procedures for Query.

I thought I'd write a simple stored procedure and add it to Northwind;

create procedure dbo.GetCustomersByCountry
(
@country nvarchar(30)
)
as
set nocount on
select c.* from dbo.Customers as c
where c.country = @country

 


And then see about calling it using ObjectQuery<T>.














Microsoft news, tips and tricks search

Comments


Post voted by 1 digWinners


Featured Links

User

Login | Register




Forgot Password?

Sponsor

Anti spam filter for mail servers
Anti spam, anti phishing and email management software for Exchange/SMTP/Lotus. Download a FREE trial!

Featured

Download Free Exchange Ebook

Categories

Upcoming NEW

Recent comments

Related Sites