base.Check(@"SELECT [st].[ID] AS [stid] , [sc].[id] AS [scid] FROM [STudent] st Left JOIN School sc ON ( [st].[SchoolId] = [sc].[id] ) WHERE ( [st].[ID] = @Id0 ) AND ( [sc].[id] = @Id1 ) AND ( [sc].[id] = [st].[ID] )GROUP BY [st].[ID],[sc].[id] ORDER BY [st].[ID] ASC ",
null,t2.Key,null," Mapping t2 error");
varx2=GetInstance();
varq=x2.Queryable<Student>().AS("t");
vart3=q.ToSql();
vart4=q.ToSql();
base.Check("SELECT [ID],[SchoolId],[Name],[CreateTime] FROM [t] ",null,t3.Key,null,"Mapping t3 error");
base.Check("SELECT [ID],[SchoolId],[Name],[CreateTime] FROM [t] ",null,t4.Key,null,"Mapping t3 error");