#region Apache Notice
/*****************************************************************************
* $Header: $
* $Revision: 383115 $
* $Date$
*
* iBATIS.NET Data Mapper
* Copyright (C) 2008/2005 - The Apache Software Foundation
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
********************************************************************************/
#endregion
using System;
using System.Data;
using System.Xml.Serialization;
using Apache.Ibatis.DataMapper.Model.ParameterMapping;
using Apache.Ibatis.DataMapper.Model.ResultMapping;
using Apache.Ibatis.Common.Utilities.Objects;
using Apache.Ibatis.DataMapper.Model.Cache;
using System.Diagnostics;
using Apache.Ibatis.DataMapper.Model.Sql.External;
namespace Apache.Ibatis.DataMapper.Model.Statements
{
///
/// Summary description for Update.
///
[Serializable]
[DebuggerDisplay("Update: {Id}")]
public class Update : Statement
{
///
/// Initializes a new instance of the class.
///
/// The id.
/// The parameter class.
/// The parameter map.
/// if set to true [remap results].
/// The extends.
/// The SQL source.
/// Preserve whitespace.
public Update(
string id,
Type parameterClass,
ParameterMap parameterMap,
bool remapResults,
string extends,
ISqlSource sqlSource,
bool preserveWhitespace)
: base(id, parameterClass, parameterMap, null, new ResultMapCollection(), null, null, null, remapResults, extends, sqlSource, preserveWhitespace)
{}
}
}