/// <summary> /// Initializes a new instance of the <see cref="Statement"/> 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="sqlSource">The SQL source.</param> /// <param name="preserveWhitespace">Preserve whitespace.</param> public Statement( string id, Type parameterClass, ParameterMap parameterMap, Type resultClass, ResultMapCollection resultMaps, Type listClass, IFactory listClassFactory, CacheModel cacheModel, bool remapResults, string extends, ISqlSource sqlSource, bool preserveWhitespace) { Contract.Require.That(id, Is.Not.Null & Is.Not.Empty).When("retrieving argument id"); this.id = id; this.parameterClass = parameterClass; this.parameterMap = parameterMap; this.resultClass = resultClass; this.resultMaps = resultMaps; this.listClass = listClass; this.listClassFactory = listClassFactory; this.cacheModel = cacheModel; allowRemapping = remapResults; this.extends = extends; this.sqlSource = sqlSource; this.preserveWhitespace = preserveWhitespace; }
/// <summary> /// Initializes a new instance of the <see cref="SelectKey"/> class. /// </summary> /// <param name="id">The id.</param> /// <param name="propertyName">Name of the property.</param> /// <param name="type">The type.</param> /// <param name="resultMaps">The result maps.</param> /// <param name="selectKeyType">Type of the select key.</param> /// <param name="sqlSource">The SQL source.</param> /// <param name="preserveWhitespace">Preserve whitespace.</param> public SelectKey( string id, string propertyName, Type type, ResultMapCollection resultMaps, SelectKeyType selectKeyType, ISqlSource sqlSource, bool preserveWhitespace ) : base(id, null, null, type, resultMaps, null, null, null, false, string.Empty, sqlSource, preserveWhitespace) { this.propertyName = propertyName; this.selectKeyType = selectKeyType; }
/// <summary> /// Initializes a new instance of the <see cref="Delete"/> 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="sqlSource">The SQL source.</param> /// <param name="preserveWhitespace">Preserve whitespace.</param> public Delete( 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) {}
/// <summary> /// Initializes a new instance of the <see cref="Delete"/> 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="sqlSource">The SQL source.</param> /// <param name="preserveWhitespace">Preserve whitespace.</param> public Delete( 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) { }
/// <summary> /// Initializes a new instance of the <see cref="SelectKey"/> class. /// </summary> /// <param name="id">The id.</param> /// <param name="propertyName">Name of the property.</param> /// <param name="type">The type.</param> /// <param name="resultMaps">The result maps.</param> /// <param name="selectKeyType">Type of the select key.</param> /// <param name="sqlSource">The SQL source.</param> /// <param name="preserveWhitespace">Preserve whitespace.</param> public SelectKey( string id, string propertyName, Type type, ResultMapCollection resultMaps, SelectKeyType selectKeyType, ISqlSource sqlSource, bool preserveWhitespace ) : base(id, null, null, type, resultMaps, null, null, null, false, string.Empty, sqlSource, preserveWhitespace) { this.propertyName = propertyName; this.selectKeyType = selectKeyType; }