示例#1
0
        /**************************************************************************************************************/

        /// <summary>
        /// 过滤条件起点
        /// </summary>
        /// <param name="func">格式: it => it.Id == m.Id </param>
        public static WhereD <M> Where <M>(this Deleter <M> deleter, Expression <Func <M, bool> > compareFunc)
            where M : class
        {
            deleter.DC.Action = ActionEnum.Where;
            deleter.WhereHandle(compareFunc);
            return(new WhereD <M>(deleter.DC));
        }