#region Apache Notice /***************************************************************************** * $Header: $ * $Revision: 443064 $ * $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 #region Using using System; using System.Data; using System.Xml.Serialization; using Apache.Ibatis.Common.Exceptions; using Apache.Ibatis.DataMapper.Model.ParameterMapping; using Apache.Ibatis.DataMapper.Exceptions; using Apache.Ibatis.DataMapper.Model.Sql.External; using Apache.Ibatis.DataMapper.Scope; using Apache.Ibatis.DataMapper.Model.ResultMapping; using Apache.Ibatis.Common.Utilities.Objects; using Apache.Ibatis.DataMapper.Model.Cache; using System.Diagnostics; #endregion namespace Apache.Ibatis.DataMapper.Model.Statements { /// /// Represent a store Procedure. /// [Serializable] [DebuggerDisplay("Procedure: {Id}")] public class Procedure : Statement { /// /// The type of the statement StoredProcedure. /// public override CommandType CommandType { get { return CommandType.StoredProcedure; } } /// /// Extend statement attribute /// public override string ExtendStatement { get { return string.Empty; } } /// /// Initializes a new instance of the class. /// /// The id. /// The parameter class. /// The parameter map. /// The result class. /// The result maps. /// The list class. /// The list class factory. /// The cache model. /// if set to true [remap results]. /// The extends. /// The SQL source. /// Preserve whitespace. public Procedure( string id, Type parameterClass, ParameterMap parameterMap, Type resultClass, ResultMapCollection resultMaps, Type listClass, IFactory listClassFactory, CacheModel cacheModel, bool remapResults, string extends, ISqlSource sqlSource, bool preserveWhitespace ) : base(id, parameterClass, parameterMap, resultClass, resultMaps, listClass, listClassFactory, cacheModel, remapResults, extends, sqlSource, preserveWhitespace) {} } }