public void can_create_query_statement_from_entity() { var builder = new StringBuilder(); var context = new TextContext <Instructor>(new StringWriterReader(builder)); var departments = new List <SessionEntityMapIntegrationTests.Department2>(); var instructor = from match in context where match.Id == 1 select match; // force the expression tree to be evaluated: instructor.Count(); System.Diagnostics.Debug.WriteLine(builder.ToString()); }
public void can_use_session_to_query_over_entity_with_join_support() { var builder = new StringBuilder(); var context = new TextContext <Blog>(new StringWriterReader(builder)); }