Exemplo 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;DaoReferenceObjectWithForeignKeyColumns&gt;.
        /// </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);
        }