TechTalk Genome v4.2

NullableString Structure

Represents a String that is either a variable-length stream of characters or Null.

For a list of all members of this type, see NullableString Members.


[Obsolete(Message="Please use System.String type to map nullable fields", IsError="False")]
public struct NullableString : INullable, INullable, IComparable, IXmlSerializable


A NullableString type can sound very strange because System.String is a Reference-Type and it can already be null (Nothing in Visual Basic). Anyway a NullableString parameter (or field or property) explicity states that a Null value is welcome: you wont get an ArgumentNullException passing Null to a NullableString method parameter (or field or property). Moreover NullableString permits to treat Null values for a String like for any other type of NullableTypes.


Namespace: TechTalk.Genome.NullableTypes

Assembly: TechTalk.Genome (in TechTalk.Genome.dll)


Editions: Professional, Evaluation, Express

Database Platforms: Microsoft SQL Server 2000, Microsoft SQL Server 2005, Orcale 9i Release 2, Oracle 10g Release 2

See Also

NullableString Members | TechTalk.Genome.NullableTypes Namespace