Name
SqlString
Synopsis
A structure that represents a variable-length stream of characters.
You can use this structure for the following SQL Server data types:
char
, nchar
,
varchar
, nvarchar
,
ntext
, text
, and
sysname
. You can configure how
SqlString
instances should be compared by setting
a combination of values from the SqlCompareOptions
enumeration for the SqlCompareOptions
property.
The built-in methods include one for string concatenation
(Concat( )
). To determine the geographical locale
and language for this structure, use the LCID
property, and for information about culture-specific settings (such
as culture name, writing system, and calendar) use the
CultureInfo
property.
public struct SqlString : INullable, IComparable { // Public Constructors public SqlString(intlcid
, SqlCompareOptionscompareOptions
, byte[ ]data
); public SqlString(intlcid
, SqlCompareOptionscompareOptions
, byte[ ]data
, boolfUnicode
); public SqlString(intlcid
, SqlCompareOptionscompareOptions
, byte[ ]data
, intindex
, intcount
); public SqlString(intlcid
, SqlCompareOptionscompareOptions
, byte[ ]data
, intindex
, intcount
, boolfUnicode
); public SqlString(stringdata
); public SqlString(stringdata
, intlcid
); public SqlString(stringdata
, intlcid
, SqlCompareOptionscompareOptions
); // Public Static Fields public static readonly int BinarySort; // =32768 public static readonly int IgnoreCase; // =1 public static readonly int IgnoreKanaType; // =8 public static readonly int IgnoreNonSpace; // =2 public ...
Get ADO.NET in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.