2004-04-22 Martin Baulig <martin@ximian.com>
[mono.git] / mcs / class / System.Data / System.Data.SqlTypes / SqlStreamChars.cs
1 //
2 // System.Data.SqlTypes.SqlStreamChars
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 using System;
13 using System.Globalization;
14 using System.Xml.Serialization;
15
16 namespace System.Data.SqlTypes
17 {
18         [MonoTODO]
19         public abstract class SqlStreamChars : INullable, IDisposable
20         {
21                 #region Fields
22
23                 public static readonly SqlStreamChars Null;
24
25                 bool notNull;
26
27                 #endregion
28
29                 #region Constructors
30
31                 protected SqlStreamChars ()
32                 {
33                         notNull = true;
34                 }
35
36                 #endregion
37
38                 #region Properties
39
40                 public abstract bool CanRead { get; }
41                 public abstract bool CanSeek { get; }
42                 public abstract bool CanWrite { get; }
43                 public abstract bool IsNull { get; }
44                 public abstract long Length { get; }
45                 public abstract long Position { get; }
46
47                 #endregion
48
49                 #region Methods
50
51                 [MonoTODO]
52                 protected virtual void Dispose (bool disposing)
53                 {
54                         throw new NotImplementedException ();
55                 }
56
57                 [MonoTODO]
58                 void IDisposable.Dispose ()
59                 {
60                         throw new NotImplementedException ();
61                 }
62
63                 #endregion
64         }
65 }
66
67 #endif