Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

entity framework where date between

var query = from a in Context.Assignments
            from m in monthList
            where m >= a.StartDate && m <= a.EndDate
            select new { a.SomeProperty, a.AnotherProperty };
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #entity #framework #date
ADD COMMENT
Topic
Name
2+2 =