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

Help with composing async Task .....

$
0
0

I must select distinct values from one column named YEAR from the database table.  I MUST use async Task<IEnumerable<variables>> for this code in my class library.

I need help with the body of the code in the class library. The goal is to return a list ofDistinct Years from the database table.

Code - need linq code.

public async Task<IEnumerable<mRequestTbl>> GetFiscalYearList()

{

      return await_RequestTblRepository....... <-- HELP!!!

}


Viewing all articles
Browse latest Browse all 1698

Trending Articles



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