using System.IO;
using System.Data.SqlTypes;
-namespace System.Data.OracleClient {
- public sealed class OracleBFile : Stream, ICloneable, INullable
+namespace System.Data.OracleClient
+{
+ public sealed class OracleBFile : Stream, ICloneable, IDisposable, INullable
{
#region Fields
public static readonly new OracleBFile Null = new OracleBFile ();
- OracleConnection connection;
- bool isOpen = true;
- bool notNull = false;
+ //OracleConnection connection;
+ //bool isOpen;
+ //bool notNull;
#endregion // Fields
#region Properties
public override bool CanRead {
- get { return (IsNull || isOpen); }
+ get {
+ //return (IsNull || isOpen);
+ throw new NotImplementedException ();
+ }
}
public override bool CanSeek {
- get { return (IsNull || isOpen); }
+ get {
+ //return (IsNull || isOpen);
+ throw new NotImplementedException ();
+ }
}
public override bool CanWrite {
- get { return false; }
+ get {
+ //return false;
+ throw new NotImplementedException ();
+ }
}
public OracleConnection Connection {
- get { return connection; }
+ get {
+ //return connection;
+ throw new NotImplementedException ();
+ }
}
public string DirectoryName {
[MonoTODO]
get {
- if (!isOpen)
- throw new ObjectDisposedException ("OracleBFile");
+ //if (!isOpen)
+ // throw new ObjectDisposedException ("OracleBFile");
throw new NotImplementedException ();
}
}
public bool FileExists {
[MonoTODO]
get {
- if (!isOpen)
- throw new ObjectDisposedException ("OracleBFile");
- if (Connection.State == ConnectionState.Closed)
- throw new InvalidOperationException ();
+ //if (!isOpen)
+ // throw new ObjectDisposedException ("OracleBFile");
+ //if (Connection.State == ConnectionState.Closed)
+ // throw new InvalidOperationException ();
throw new NotImplementedException ();
}
}
public string FileName {
[MonoTODO]
get {
- if (!isOpen)
- throw new ObjectDisposedException ("OracleBFile");
- if (IsNull)
- return String.Empty;
+ //if (!isOpen)
+ // throw new ObjectDisposedException ("OracleBFile");
+ //if (IsNull)
+ // return String.Empty;
throw new NotImplementedException ();
}
}
public bool IsNull {
- get { return !notNull; }
+ get {
+ //return !notNull;
+ throw new NotImplementedException ();
+ }
}
public override long Length {
[MonoTODO]
get {
- if (!isOpen)
- throw new ObjectDisposedException ("OracleBFile");
+ //if (!isOpen)
+ // throw new ObjectDisposedException ("OracleBFile");
throw new NotImplementedException ();
}
}
public override long Position {
[MonoTODO]
get {
- if (!isOpen)
- throw new ObjectDisposedException ("OracleBFile");
+ //if (!isOpen)
+ // throw new ObjectDisposedException ("OracleBFile");
throw new NotImplementedException ();
}
[MonoTODO]
set {
- if (!isOpen)
- throw new ObjectDisposedException ("OracleBFile");
- if (value > Length)
- throw new ArgumentOutOfRangeException ();
+ //if (!isOpen)
+ // throw new ObjectDisposedException ("OracleBFile");
+ //if (value > Length)
+ // throw new ArgumentOutOfRangeException ();
throw new NotImplementedException ();
}
}
throw new NotImplementedException ();
}
+#if NET_2_0
+ protected override void Dispose (bool disposing)
+ {
+ throw new NotImplementedException ();
+ }
+#else
[MonoTODO]
public void Dispose ()
{
throw new NotImplementedException ();
}
+#endif
[MonoTODO]
public override void Flush ()
#endregion // Methods
}
}
+
+