Beispiel #1
0
        /// <summary>
        /// 生成一个子查询
        /// </summary>
        /// <returns></returns>
        public TableRelation <TSub> SubQuery <TSub>()
            where TSub : Entity
        {
            TableRelation <TSub> tr = new TableRelation <TSub>(null, null);

            tr.GetFromSection().Query = section.SubQuery <TSub>();
            return(tr);
        }