| |||||||||||||||||
Source File | Conditionals | Statements | Methods | TOTAL | |||||||||||||
Configuration\Statements\Update.cs | - | 100.0 % | 100.0 % | 100.0 % |
|
1 | ||
2 | #region Apache Notice | |
3 | /***************************************************************************** | |
4 | * $Header: $ | |
5 | * $Revision: $ | |
6 | * $Date: $ | |
7 | * | |
8 | * iBATIS.NET Data Mapper | |
9 | * Copyright (C) 2004 - 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 | using System; | |
28 | using System.Data; | |
29 | using System.Xml.Serialization; | |
30 | ||
31 | namespace IBatisNet.DataMapper.Configuration.Statements | |
32 | { | |
33 | /// <summary> | |
34 | /// Summary description for Update. | |
35 | /// </summary> | |
36 | [Serializable] | |
37 | [XmlRoot("update")] | |
38 | public class Update : Statement | |
39 | { | |
40 | ||
41 | #region Fields | |
42 | [NonSerialized] | |
43 | private Generate _generate = null; | |
44 | #endregion | |
45 | ||
46 | /// <summary> | |
47 | /// The Generate tag used by a generated update statement. | |
48 | /// (CRUD operation) | |
49 | /// </summary> | |
50 | [XmlElement("generate",typeof(Generate))] | |
51 | public Generate Generate | |
52 | { | |
53 | 1700 | get { return _generate; } |
54 | 170 | set { _generate = value; } |
55 | } | |
56 | ||
57 | /// <summary> | |
58 | /// Do not use direclty, only for serialization. | |
59 | /// </summary> | |
60 | 850 | [Obsolete("This public constructor with no parameter is not really obsolete, but is reserved for serialization.", false)] |
61 | public Update():base() | |
62 | {} | |
63 | ||
64 | } | |
65 | } | |
66 |
|