Gets the BinaryType with the specified length.
Namespace:
NHibernate.TypeAssembly: NHibernate (in NHibernate.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Shared Function GetBinaryType ( _ length As Integer _ ) As NullableType |
C# |
---|
public static NullableType GetBinaryType( int length ) |
Visual C++ |
---|
public: static NullableType^ GetBinaryType( int length ) |
JavaScript |
---|
NHibernate.Type.TypeFactory.getBinaryType = function(length); |
Parameters
- length
- Type: System..::.Int32
The length of the data to store in the database.
Return Value
A BinaryType
Remarks
In addition to returning the BinaryType it will also ensure that it has
been added to the basicNameMap with the keys Byte[](length) and
NHibernate.Type.BinaryType(length).