//编译(成DbQuery) private DbQuery compile() { var temp = new DbQuery(_context).sql(_builder); _builder.clear(); if (_tran != null) { temp.tran(_tran); } return(temp); }
//编译(成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; })); }