Avonelle's Tech Blog

Go Back

Additional items when creating views for using with BLD

Follow-up to this post on creating views that are used with LLBLGen and BLD:

  • If the view contains a field that should be optional (in other words – allows NULL values), you may need to explicitly mark it as optional in LLBLGen. At least I had to in the case of a column that was a foreign key reference. (So perhaps that is also relevant.) Otherwise an error was generated if the user tried to save the record but didn’t select a value for that field.
  • Make sure any dependencies you add reference fields that exist. I tend to put the dependency attributes on the table entity, but if you do that and reference a field that is only in the view it will be ignored (no error).

Posted by Avonelle on Monday, January 28, 2013.

Facebook Twitter