| |||||||||||||||||
Source File | Conditionals | Statements | Methods | TOTAL | |||||||||||||
Commands\IPreparedCommand.cs | - | - | - | - |
|
1 | ||
2 | #region Apache Notice | |
3 | /***************************************************************************** | |
4 | * $Header: $ | |
5 | * $Revision: $ | |
6 | * $Date: $ | |
7 | * | |
8 | * iBATIS.NET Data Mapper | |
9 | * Copyright (C) 2005 - Gilles Bayon | |
10 | * | |
11 | * | |
12 | * Licensed under the Apache License, Version 2.0 (the "License"); | |
13 | * you may not use this file except in compliance with the License. | |
14 | * You may obtain a copy of the License at | |
15 | * | |
16 | * http://www.apache.org/licenses/LICENSE-2.0 | |
17 | * | |
18 | * Unless required by applicable law or agreed to in writing, software | |
19 | * distributed under the License is distributed on an "AS IS" BASIS, | |
20 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
21 | * See the License for the specific language governing permissions and | |
22 | * limitations under the License. | |
23 | * | |
24 | ********************************************************************************/ | |
25 | #endregion | |
26 | ||
27 | #region Imports | |
28 | using System.Data; | |
29 | ||
30 | using IBatisNet.Common; | |
31 | using IBatisNet.DataMapper.Configuration.Statements; | |
32 | using IBatisNet.DataMapper.Scope; | |
33 | ||
34 | using log4net; | |
35 | #endregion | |
36 | ||
37 | namespace IBatisNet.DataMapper.Commands | |
38 | { | |
39 | /// <summary> | |
40 | /// Summary description for IPreparedCommand. | |
41 | /// </summary> | |
42 | public interface IPreparedCommand | |
43 | { | |
44 | /// <summary> | |
45 | /// Create an IDbCommand for the IDalSession and the current SQL Statement | |
46 | /// and fill IDbCommand IDataParameter's with the parameterObject. | |
47 | /// </summary> | |
48 | /// <param name="request"></param> | |
49 | /// <param name="session">The IDalSession</param> | |
50 | /// <param name="statement">The IStatement</param> | |
51 | /// <param name="parameterObject"> | |
52 | /// The parameter object that will fill the sql parameter | |
53 | /// </param> | |
54 | /// <returns>An IDbCommand with all the IDataParameter filled.</returns> | |
55 | IDbCommand Create (RequestScope request, IDalSession session, IStatement statement, object parameterObject ); | |
56 | } | |
57 | } | |
58 |
|