I have table StudentAccount with columns Code,Amount,Description,Valid Period for selected period there might be same code and description write a linq query that gets the data Code/Description needs to be unique for the selected date range.( the date is in the format 1/1/1990-1/1/1991)
public IEnumerable<StudentAccount> StudentAccountdata
{
get { return Context.StudentAccount.Where(q=>q.Active).OrderBy(q =>q.Description).ToList(); }
}