Click or drag to resize
DbString Class
This class represents a SQL string, it can be used if you need to denote your parameter is a Char vs VarChar vs nVarChar vs nChar
Inheritance Hierarchy
SystemObject
  DapperDbString

Namespace: Dapper
Assembly: VirtualRadar.Database (in VirtualRadar.Database.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public sealed class DbString : SqlMapperICustomQueryParameter

The DbString type exposes the following members.

Constructors
  NameDescription
Public methodDbString
Create a new DbString
Top
Properties
  NameDescription
Public propertyIsAnsi
Ansi vs Unicode
Public propertyIsFixedLength
Fixed length
Public propertyLength
Length of the string -1 for max
Public propertyValue
The value of the string
Top
Methods
  NameDescription
Public methodAddParameter
Add the parameter to the command... internal use only
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Public fieldStatic memberDefaultLength
A value to set the default value of strings going through Dapper. Default is 4000, any value larger than this field will not have the default value applied.
Top
See Also