C# Class Lob.Model.Blob

Inheritance: IPersistedLob
Exibir arquivo Open project: bittercoder/Lob

Private Properties

Property Type Description
IPersistedLob byte[]
IPersistedLob object
IPersistedLob void

Public Methods

Method Description
Create ( Stream input ) : Blob
Create ( byte data ) : Blob
Create ( string filename ) : Blob
Equals ( Blob blob ) : bool
Equals ( object obj ) : bool
GetHashCode ( ) : int
OpenReader ( ) : Stream
WriteTo ( Stream output ) : void

Protected Methods

Method Description
GetExternalSource ( ) : object
GetIsPersisted ( ) : bool
GetPersistedIdentifier ( ) : byte[]
SetPersistedIdentifier ( byte contents, object externalSource ) : void

Private Methods

Method Description
IPersistedLob ( ) : byte[]
IPersistedLob ( ) : object
IPersistedLob ( byte contents, object externalStore ) : void

Method Details

Create() public static method

public static Create ( Stream input ) : Blob
input Stream
return Blob

Create() public static method

public static Create ( byte data ) : Blob
data byte
return Blob

Create() public static method

public static Create ( string filename ) : Blob
filename string
return Blob

Equals() public abstract method

public abstract Equals ( Blob blob ) : bool
blob Blob
return bool

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

GetExternalSource() protected method

protected GetExternalSource ( ) : object
return object

GetHashCode() public method

public GetHashCode ( ) : int
return int

GetIsPersisted() protected method

protected GetIsPersisted ( ) : bool
return bool

GetPersistedIdentifier() protected method

protected GetPersistedIdentifier ( ) : byte[]
return byte[]

OpenReader() public abstract method

public abstract OpenReader ( ) : Stream
return Stream

SetPersistedIdentifier() protected method

protected SetPersistedIdentifier ( byte contents, object externalSource ) : void
contents byte
externalSource object
return void

WriteTo() public method

public WriteTo ( Stream output ) : void
output Stream
return void