LINQ in Action roller

Cannot set Varchar NOT NULL field to String.Empty as LINQ Property does not detect difference between Nothing and String.Empty

Cannot set Varchar NOT NULL field to String.Empty as LINQ Generated Property for Varchar NOT NULL field does not detect difference between Nothing and String.Empty. How can I get around this problem? Sample Code When try to set: MyField = String.Empty then ApplicationRef remains set to Nothing as ( Me ._MyField = value) below evaluates to True Sample LINQ Generated Property <Column(Name:= " MyField " , Storage:= "_ MyField " , DBType:= "VarChar(50) NOT NULL" )> Read More...
Published Wednesday, February 21, 2007 12:35 AM by MSDN Forums: LINQ Project General
Anonymous comments are disabled

Featured Item

This Blog

Sponsoring

Syndication