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

Help retrieving columns from StoredProcedure using LINQ...

$
0
0

I need to retrieve data by using a stored Procedure using MVC LINQ.   I need to retrieve two fields from the table.

My method is a public async Task IEnumerable and inside the body needs to return two columns from the stored procedure. There are no parameters for this stored procedure. The goal is to return the two columns from the stored procedure.

Columns: FullName, ClarkId

Method - code

public async Task<IEnumerable<ListClerks>> GetAllClerks()

{

   I need to be able to return list of clerks -- Please help

}

Your expertise is greatly appreciated. Thank you.


Viewing all articles
Browse latest Browse all 1698

Trending Articles



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