public static QueryEx CreateQuery(this IApp app, Func <QueryEx, QueryEx> query) { return(app.CreateQuery().Transform(query)); }