Supports multi-table queries you?

May 4, 2012 at 8:55 AM
Edited May 4, 2012 at 8:56 AM

this ormis very good,but   it Supports multi-table queries? I very much look forward to your answer

Coordinator
May 4, 2012 at 9:12 AM

Do you mean multiple result sets? Then yes, it's supported:

 

using (var command = Context().MultiResultSql())
{
	List categories = command.Sql(
			@"select * from Category;
			select * from Product;").Query();

	List products = command.Query();
}

Regards,

Lars-Erik Kindblad