Krystalware
SlickUpload logo

SqlClientInputStream Class

Exposes a write-only, forward-only stream around an image column in a record in a SQL Server database.

Declaration Syntax

C#

public sealed class SqlClientInputStream : Stream

Visual Basic

Public NotInheritable Class SqlClientInputStream _
	Inherits Stream

Members

IconMemberDescription
SqlClientInputStream(String, String, String, String, Int32)
Creates a new instance of the SqlClientInputStream class for the specified connection string, table data field, id field, and id value.
SqlClientInputStream(String, String, String, String)
Creates a new instance of the SqlClientInputStream class for the specified connection string, table data field, and where criteria.
BeginRead(array<Byte>[]()[], Int32, Int32, AsyncCallback, Object) HostProtectionAttribute.
Begins an asynchronous read operation.
(Inherited from Stream.)
BeginWrite(array<Byte>[]()[], Int32, Int32, AsyncCallback, Object) HostProtectionAttribute.
Begins an asynchronous write operation.
(Inherited from Stream.)
CanRead
Overridden. Gets a value indicating whether the current stream supports reading.
(Overrides Stream.CanRead.)
CanSeek
Overridden. Gets a value indicating whether the current stream supports seeking.
(Overrides Stream.CanSeek.)
CanTimeout
Gets a value that determines whether the current stream can time out.
(Inherited from Stream.)
CanWrite
Overridden. Gets a value indicating whether the current stream supports writing.
(Overrides Stream.CanWrite.)
Close()()()
Overridden. Closes the file and releases any resources associated with the current file stream.
(Overrides Stream.Close()()().)
CreateObjRef(Type)
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject.)
CreateWaitHandle()()() Obsolete.
Allocates a WaitHandle object.
(Inherited from Stream.)
Dispose()()()
Releases all resources used by the Stream.
(Inherited from Stream.)
Dispose(Boolean)
Releases the unmanaged resources used by the Stream and optionally releases the managed resources.
(Inherited from Stream.)
EndRead(IAsyncResult)
Waits for the pending asynchronous read to complete.
(Inherited from Stream.)
EndWrite(IAsyncResult)
Ends an asynchronous write operation.
(Inherited from Stream.)
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Flush()()()
Overridden. Clears all buffers for this stream and causes any buffered data to be written to the underlying device.
(Overrides Stream.Flush()()().)
GetHashCode()()()
Serves as a hash function for a particular type. GetHashCode()()() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.)
GetLifetimeService()()()
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
GetType()()()
Gets the Type of the current instance.
(Inherited from Object.)
InitializeLifetimeService()()()
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Length
Overridden. Gets the length in bytes of the stream.
(Overrides Stream.Length.)
MemberwiseClone(Boolean)
Creates a shallow copy of the current MarshalByRefObject object.
(Inherited from MarshalByRefObject.)
MemberwiseClone()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
Position
Overridden. Gets or sets the current position of this stream.
(Overrides Stream.Position.)
Read(array<Byte>[]()[], Int32, Int32)
Overridden. Reads a block of bytes from the stream and writes the data in a given buffer.
(Overrides Stream.Read(array<Byte>[]()[], Int32, Int32).)
ReadByte()()()
Reads a byte from the stream and advances the position within the stream by one byte, or returns -1 if at the end of the stream.
(Inherited from Stream.)
ReadTimeout
Gets or sets a value that determines how long the stream will attempt to read before timing out.
(Inherited from Stream.)
Seek(Int64, SeekOrigin)
Overridden. Sets the current position of this stream to the given value.
(Overrides Stream.Seek(Int64, SeekOrigin).)
SetLength(Int64)
Overridden. Sets the length of this stream to the given value.
(Overrides Stream.SetLength(Int64).)
ToString()()()
Returns a String that represents the current Object.
(Inherited from Object.)
Write(array<Byte>[]()[], Int32, Int32)
Overridden. Writes a block of bytes to this stream using data from a buffer.
(Overrides Stream.Write(array<Byte>[]()[], Int32, Int32).)
WriteByte(Byte)
Writes a byte to the current position in the stream and advances the position within the stream by one byte.
(Inherited from Stream.)
WriteTimeout
Gets or sets a value that determines how long the stream will attempt to write before timing out.
(Inherited from Stream.)

Remarks

This stream is unbuffered.

Inheritance Hierarchy

Object
MarshalByRefObject
Stream
SqlClientInputStream

Assembly: Krystalware.SlickUpload, Version: 4.0