Home
Help
Register
Log in

Search

 
   Active Threads  

You are here: Home > LLBLGen Pro > LLBLGen Pro Runtime Framework> Saving entity overwrites table level default values
 

Pages: 1
LLBLGen Pro Runtime Framework
Saving entity overwrites table level default values
Page:1/1 

  Print all messages in this thread  
Poster Message
tprohas
User



Location:
Tucson, AZ
Joined on:
23-Mar-2004 00:00:43
Posted:
257 posts
# Posted on: 18-Jul-2008 23:42:19.  
LLBLGen 2.5
Runtime: v2.0.50727
ASP.NET 2.0

I have a DetailsView and a LLBLGenDataSource2 control which I'm using to insert a new row in my database.

The problem I'm having is that any fields that are left empty in the DetailsView get inserted as empty even when the table has column level default values which I want used.

Is there anyway to get the empty fields omited from the insert so the default value is used? I assuming that the value being inserted now is the default value on the entity field.

Otherwise how can I set a custom default value for each field that gets inserted for empty DetailsView fields?
Aaron Prohaska
http://www.verdesoft.com/
 
Top
tprohas
User



Location:
Tucson, AZ
Joined on:
23-Mar-2004 00:00:43
Posted:
257 posts
# Posted on: 18-Jul-2008 23:55:22.  
OK, I'm not 100% sure I really have a problem anymore. Let's put this on hold.

Thanks Regular Smiley


Aaron Prohaska
http://www.verdesoft.com/
 
Top
Pages: 1  


Powered by HnD ©2002-2007 Solutions Design
HnD uses LLBLGen Pro

Version: 2.1.12172008 Final.