I am using EF code first approch. Here is my context file.
public class MyContext : DbContext
{
public DbSet<Contact> Contacts { get; set; }
public DbSet<Contact_phone> Contact_phones{ get; set; }
}
I want to add filter on bases of date on my context file, so that when i get data for any table i get for that specific date range only. Please suggest.