clear() 공개 메소드

public clear ( ) : void
리턴 void
예제 #1
0
        //编译(成DbQuery)
        private DbQuery compile()
        {
            var temp = new DbQuery(_context).sql(_builder);

            _builder.clear();

            if (_tran != null)
            {
                temp.tran(_tran);
            }

            return(temp);
        }
예제 #2
0
        //编译(成DbQuery)
        private DbQuery compile()
        {
            var temp = new DbQuery(_context).sql(_builder);

            _builder.clear();

            if (_tran != null)
            {
                temp.tran(_tran);
            }

            return(temp.onCommandBuilt((cmd) => {
                cmd.tag = _table;
                cmd.isLog = _isLog;
            }));
        }