Click here to Skip to main content
15,888,461 members
Articles / Programming Languages / SQL

Projecting on Linq to SQL, from different layers

Rate me:
Please Sign up or sign in to vote.
4.00/5 (1 vote)
25 Oct 2015CPOL4 min read 8K   1  
  The Need I needed to add the possibility for upper layers like the Model/Service to make projection on Linq to SQL statements but without leaking IQueryable. As the normal Linq to SQL projection is: var query = from c in Cars … Continue reading →

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior) Dev
United Arab Emirates United Arab Emirates
Hussain Naji Al-Safafeer

Work: Software Developer (Assistant manager)
Like: Programming, reading.
Technical site: https://readerman1.wordpress.com

Comments and Discussions