linq to sql use real sql scripts?


  •  In a C# 2010 desktop/console application, I am currently using linq to sql to connect to a sql server 2008 database. So far in this application, I have used straight linq to connect to the database.   However now I need to obtain data from various tables so that the data can be setup for a new user to access the data.

    The database people at my job say it is easier to write the logic using a sql script they can give me.

     Thus my question is, can linq to sql use 'stright sql' somehow? Basically can I have linq to sql use a stored procedure? If so, can you tell me and/or point me to a reference that will show me how linq to sql can use a stored procedure?

    Saturday, September 15, 2012 6:35 AM


All replies