Hello,
Thank you for your quick response.
So, I followed your advice and did the following:
Added the following namespaces to the Customer entity in the designer so the data attributes (Include, Composition) would compile.
using System.ComponentModel.DataAnnotations;
using System.ServiceModel.DomainServices.Server;
I added the [Composition] attribute via the Designer to CustomerEntity.Licenses so when a Customer is deleted, its licenses will be deleted, too.
I added the [Include] attribute via the Designer to CustomerEntity.ProductCollectionViaCustomerProduct so we can include the products collection in the customer in the Silverlight client.
Now, the attributes are in the generated code, but I get the following compilation error:
--------------------------------
Error 1 Invalid Include specification for member CustomerEntity.ProductCollectionViaCustomerProduct'. Non-projection includes can only be specified on members with the AssociationAttribute applied.
---------------------------------
Could you please tell me how to correct this using your tools? I have details for these classes in my original posting.
I am a beginner with LLBLGEN and am almost done with our evaluation of it. However, it took a while for me to figure out the steps for adding a data attribute and the required namespaces. It would be nice to add these steps to your RIA documentation.
Thank you for your help!
Mike