常用方法
常用方法
常用方法
常用方法
public virtual QueryCommand QueryUpdate(DataContext context, DataTableEntityMapping mapping, MassUpdator updator, QueryExpression query) { CreateSqlState state = new CreateSqlState(context); CommandData commandData = _factory.CreateMassUpdateCommand(mapping, updator, query, state); DbCommand command = commandData.CreateCommand(this, state); QueryCommand queryCommand = new QueryCommand() { Command = command }; return(queryCommand); }