Пример #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Insert"/> class.
 /// </summary>
 /// <param name="id">The id.</param>
 /// <param name="parameterClass">The parameter class.</param>
 /// <param name="parameterMap">The parameter map.</param>
 /// <param name="resultClass">The result class.</param>
 /// <param name="resultMaps">The result maps.</param>
 /// <param name="listClass">The list class.</param>
 /// <param name="listClassFactory">The list class factory.</param>
 /// <param name="cacheModel">The cache model.</param>
 /// <param name="remapResults">if set to <c>true</c> [remap results].</param>
 /// <param name="extends">The extends.</param>
 /// <param name="selectKey">The select key.</param>
 /// <param name="sqlSource">The SQL source.</param>
 /// <param name="preserveWhitespace">Preserve whitespace.</param>
 public Insert(
     string id,
     Type parameterClass,
     ParameterMap parameterMap,
     Type resultClass,
     ResultMapCollection resultMaps,
     Type listClass,
     IFactory listClassFactory,
     CacheModel cacheModel,
     bool remapResults,
     string extends,
     SelectKey selectKey,
     ISqlSource sqlSource,
     bool preserveWhitespace
     )
     : base(id, parameterClass, parameterMap, resultClass, resultMaps, listClass, listClassFactory, cacheModel, remapResults, extends, sqlSource, preserveWhitespace)
 {
     this.selectKey = selectKey;
 }
Пример #2
0
        /// <summary>
        /// Initializes a new instance of the <see cref="Insert"/> class.
        /// </summary>
        /// <param name="id">The id.</param>
        /// <param name="parameterClass">The parameter class.</param>
        /// <param name="parameterMap">The parameter map.</param>
        /// <param name="resultClass">The result class.</param>
        /// <param name="resultMaps">The result maps.</param>
        /// <param name="listClass">The list class.</param>
        /// <param name="listClassFactory">The list class factory.</param>
        /// <param name="cacheModel">The cache model.</param>
        /// <param name="remapResults">if set to <c>true</c> [remap results].</param>
        /// <param name="extends">The extends.</param>
        /// <param name="selectKey">The select key.</param>
        /// <param name="sqlSource">The SQL source.</param>
        /// <param name="preserveWhitespace">Preserve whitespace.</param>
        public Insert(
            string id, 
            Type parameterClass,
            ParameterMap parameterMap,
            Type resultClass,
            ResultMapCollection resultMaps,
            Type listClass,
            IFactory listClassFactory,
            CacheModel cacheModel,
            bool remapResults,
            string extends,
            SelectKey selectKey,
            ISqlSource sqlSource,
            bool preserveWhitespace
            )
            : base(id, parameterClass, parameterMap, resultClass, resultMaps, listClass, listClassFactory, cacheModel, remapResults, extends, sqlSource, preserveWhitespace)
		{
            this.selectKey = selectKey;
        }