Describes the details of a Binary that is stored in a BLOB column with the information required to generate an IDbDataParameter.

Namespace: NHibernate.SqlTypes
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
[SerializableAttribute]
public class BinaryBlobSqlType : BinarySqlType
Visual Basic
<SerializableAttribute> _
Public Class BinaryBlobSqlType _
	Inherits BinarySqlType
Visual C++
[SerializableAttribute]
public ref class BinaryBlobSqlType : public BinarySqlType

Remarks

This can store the length of the binary data that the IDbDataParameter can hold. If no value is provided for the length then the Driver is responsible for setting the properties on the IDbDataParameter correctly.

This is only needed by DataProviders (SqlClient) that need to specify a Size for the IDbDataParameter. Most DataProvider(Oralce) don't need to set the Size so a BinarySqlType would work just fine.

Inheritance Hierarchy

System..::..Object
  NHibernate.SqlTypes..::..SqlType
    NHibernate.SqlTypes..::..BinarySqlType
      NHibernate.SqlTypes..::..BinaryBlobSqlType

See Also