2004-05-15 Atsushi Enomoto <atsushi@ximian.com>
[mono.git] / mcs / class / System.Data / System.Data / DbMetaData.cs
1 //
2 // System.Data.DbMetaData.cs
3 //
4 // Author:
5 //   Tim Coleman (tim@timcoleman.com)
6 //
7 // Copyright (C) Tim Coleman, 2003
8 //
9
10 #if NET_2_0
11
12 namespace System.Data {
13         public class DbMetaData 
14         {
15                 #region Fields
16
17                 DbType dbType;
18                 bool isNullable;
19                 long maxLength;
20                 string name;
21
22                 #endregion // Fields
23
24                 #region Constructors
25
26                 [MonoTODO]
27                 public DbMetaData ()
28                 {
29                 }
30
31                 [MonoTODO]
32                 public DbMetaData (DbMetaData source)
33                 {
34                 }
35
36                 #endregion // Constructors
37
38                 #region Properties
39
40                 public virtual DbType DbType {
41                         get { return dbType; }
42                         set { dbType = value; }
43                 }
44
45                 public virtual bool IsNullable {
46                         get { return isNullable; }
47                         set { isNullable = value; }
48                 }
49
50                 public virtual long MaxLength {
51                         get { return maxLength; }
52                         set { maxLength = value; }
53                 }
54
55                 public string Name {
56                         get { return name; } 
57                         set { name = value; }
58                 }
59
60                 #endregion // Properties
61         }
62 }
63
64 #endif // NET_2_0