Thursday, May 24, 2012
LINQ Dynamic Query
using System.Linq.Dynamic
var repository = new EmployeeRepository();
var query = repository.GetAll()
.AsQueryable()
.OrderBy("Name")
.Where("DepartmentID = 1");
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment