/// <summary> /// This method is intended to respond to client side Qi queries. /// Use of this method from .Net should be avoided in favor of /// one of the methods that take a delegate of type /// WhereDelegate<OrganizationColumns>. /// </summary> /// <param name="where"></param> /// <param name="database"></param> public static OrganizationCollection Where(QiQuery where, Database database = null) { var results = new OrganizationCollection(database, Select <OrganizationColumns> .From <Organization>().Where(where, database)); return(results); }