GenerateNullableFieldsAsNullableTypes

Posts   
 
    
CGLock
User
Posts: 17
Joined: 03-Jun-2007
# Posted on: 18-Oct-2008 15:19:23   

LL V2.6 MySql 5.0 VS 2008 C#

LL is generating nullable value types for field in my database that are null. I have set the GenerateNullableFieldsAsNullableTypes to false in both the preferences and the project properties. Do I have to go to each individual field in the designer and Uncheck the ".Net 2.0+ Generate as Nullable Type"??

daelmo avatar
daelmo
Support Team
Posts: 8245
Joined: 28-Nov-2005
# Posted on: 19-Oct-2008 14:52:58   

The preference/project-property is applied for new entities added to your project. If you already have the project, and then you turn on/off the property, you should switch the "Generate as Nullable type" property by manually. You of course, can run the "Sets GenerateAsNullbleOfT" plugin to switch all in one go.

David Elizondo | LLBLGen Support Team