Quantcast
Channel: ADO.NET, Entity Framework, LINQ to SQL, NHibernate
Viewing all articles
Browse latest Browse all 1698

Linq to SQL and Stored Procedure

$
0
0

  I am using Linq to SQL. Below is the code I am using. As you can see I am using a stored procedure and passing it an integer but yet q, the inferred type variable contains nothing after this code is executed.  Thanks for any help !

DataClasses1DataContext db = new DataClasses1DataContext();
var q = db.spGetEmployeeById(3);


Viewing all articles
Browse latest Browse all 1698

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>