Jo Shields 3c1f479b9d Imported Upstream version 4.0.0~alpha1
Former-commit-id: 806294f5ded97629b74c85c09952f2a74fe182d9
2015-04-07 09:35:12 +01:00

218 lines
4.1 KiB
C#

//
// OracleBFile.cs
//
// Part of the Mono class libraries at
// mcs/class/System.Data.OracleClient/System.Data.OracleClient
//
// Assembly: System.Data.OracleClient.dll
// Namespace: System.Data.OracleClient
//
// Author: Tim Coleman <tim@timcoleman.com>
//
// Copyright (C) Tim Coleman, 2003
//
// Licensed under the MIT/X11 License.
//
using System;
using System.IO;
using System.Data.SqlTypes;
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;
//bool notNull;
#endregion // Fields
#region Constructors
internal OracleBFile ()
{
}
#endregion // Constructors
#region Properties
public override bool CanRead {
get {
//return (IsNull || isOpen);
throw new NotImplementedException ();
}
}
public override bool CanSeek {
get {
//return (IsNull || isOpen);
throw new NotImplementedException ();
}
}
public override bool CanWrite {
get {
//return false;
throw new NotImplementedException ();
}
}
public OracleConnection Connection {
get {
//return connection;
throw new NotImplementedException ();
}
}
public string DirectoryName {
[MonoTODO]
get {
//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 ();
throw new NotImplementedException ();
}
}
public string FileName {
[MonoTODO]
get {
//if (!isOpen)
// throw new ObjectDisposedException ("OracleBFile");
//if (IsNull)
// return String.Empty;
throw new NotImplementedException ();
}
}
public bool IsNull {
get {
//return !notNull;
throw new NotImplementedException ();
}
}
public override long Length {
[MonoTODO]
get {
//if (!isOpen)
// throw new ObjectDisposedException ("OracleBFile");
throw new NotImplementedException ();
}
}
public override long Position {
[MonoTODO]
get {
//if (!isOpen)
// throw new ObjectDisposedException ("OracleBFile");
throw new NotImplementedException ();
}
[MonoTODO]
set {
//if (!isOpen)
// throw new ObjectDisposedException ("OracleBFile");
//if (value > Length)
// throw new ArgumentOutOfRangeException ();
throw new NotImplementedException ();
}
}
public object Value {
[MonoTODO]
get {
throw new NotImplementedException ();
}
}
#endregion // Properties
#region Methods
[MonoTODO]
public object Clone ()
{
throw new NotImplementedException ();
}
[MonoTODO]
public long CopyTo (OracleLob destination)
{
throw new NotImplementedException ();
}
[MonoTODO]
public long CopyTo (OracleLob destination, long destinationOffset)
{
throw new NotImplementedException ();
}
[MonoTODO]
public long CopyTo (long sourceOffset, OracleLob destination, long destinationOffset, long amount)
{
throw new NotImplementedException ();
}
protected override void Dispose (bool disposing)
{
throw new NotImplementedException ();
}
[MonoTODO]
public override void Flush ()
{
throw new NotImplementedException ();
}
[MonoTODO]
public override int Read (byte[] buffer, int offset, int count)
{
throw new NotImplementedException ();
}
[MonoTODO]
public override long Seek (long offset, SeekOrigin origin)
{
throw new NotImplementedException ();
}
[MonoTODO]
public void SetFileName (string directory, string file)
{
throw new NotImplementedException ();
}
[MonoTODO]
public override void SetLength (long value)
{
throw new InvalidOperationException ();
}
[MonoTODO]
public override void Write (byte[] buffer, int offset, int count)
{
throw new NotSupportedException ();
}
#endregion // Methods
}
}