Ejemplo n.º 1
0
        /// <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&lt;OrganizationColumns&gt;.
        /// </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);
        }