RIA Documentation suggestion

Posts   
 
    
yowl
User
Posts: 271
Joined: 11-Feb-2008
# Posted on: 02-Aug-2012 23:23:13   

Hi,

I have a suggestion for the help documentation around RIA. If you have added custom validation attributes in the LLBLGen designer to some entity fields, and added those validation classes to your entity project using .shared.cs files, then you may find that the attributes are not added to the client silverlight project in Release mode. RIA requires pdb files to properly generate the client code and if you create RIA client library projects or Silverlight Business Applications you will notice that the Web project release configuration is set to generate pdb files. This needs to be done in the LLBLGen entity project as well, or else your generated entity code will be missing your custom attributes.

Hope thats clear.

-- Scott

daelmo avatar
daelmo
Support Team
Posts: 8245
Joined: 28-Nov-2005
# Posted on: 03-Aug-2012 06:53:50   

Thanks for the suggestion. So you think it should be a note that says:

If you add validation attributes through LLBLGen Designer's "Additional Attributes" feature, make sure the Release Configuration of the generated project is set to generate pdb files. This is required if you plan to use it in a RIA client library Project or Silverlight Business Applications, otherwise your generated entity code will be missing your custom attributes.

Do you have some article or help link that supports that note?

David Elizondo | LLBLGen Support Team