/// <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<DaoReferenceObjectWithForeignKeyColumns>. /// </summary> /// <param name="where"></param> /// <param name="database"></param> public static DaoReferenceObjectWithForeignKeyCollection Where(QiQuery where, Database database = null) { var results = new DaoReferenceObjectWithForeignKeyCollection(database, Select <DaoReferenceObjectWithForeignKeyColumns> .From <DaoReferenceObjectWithForeignKey>().Where(where, database)); return(results); }