I'm new to WPF. I come from C# and windows forms.
I'm working on a WPF application using C#. Right now to call my sql server stored procedures i'm calling the Sprocs in the C# code.
I was reading and I read that another way to call a sproc is is using the Entity Framework instead or also using Linq to SQL.
So with all the various ways , i was curious what is the preferred method to use.
Do you guys know what is the preferred way to call stored procedures in WPF?
Do you know a link to a tutorial to call stored procedures using WPF and the Entity Framework.
I already know how to set up the Entity Model and Bind to controls with it, i just don't know how to call a stored procedure or should i say Function in EDM.
Thanks for any help.