よく使われるメソッド
よく使われるメソッド
よく使われるメソッド
よく使われるメソッド
public virtual QueryCommand Update(DataContext context, DataTableEntityMapping mapping, object data, bool refresh) { CreateSqlState state = new CreateSqlState(context, false); CommandData commandData = _factory.CreateBaseUpdateCommand(mapping, data, refresh, state); if (commandData == null) { return(null); } DbCommand command = commandData.CreateCommand(this, state); QueryCommand queryCommand = new QueryCommand() { Command = command }; return(queryCommand); }