Describes the details of a AnsiString with the information required to generate an IDbDataParameter.

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

Syntax

Visual Basic (Declaration)
<SerializableAttribute> _
Public Class AnsiStringSqlType _
	Inherits SqlType
C#
[SerializableAttribute]
public class AnsiStringSqlType : SqlType
Visual C++
[SerializableAttribute]
public ref class AnsiStringSqlType : public SqlType
JavaScript
NHibernate.SqlTypes.AnsiStringSqlType = function();

Type.createClass(
	'NHibernate.SqlTypes.AnsiStringSqlType',
	NHibernate.SqlTypes.SqlType);

Remarks

This can store the length of the string 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.

Inheritance Hierarchy

System..::.Object
  NHibernate.SqlTypes..::.SqlType
    NHibernate.SqlTypes..::.AnsiStringSqlType

See Also