This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
I have an entity connected to a second optional entity. When building the solution I get the following error: Cannot implicitly convert type 'int?' to 'int'. The relevant statement is: this.Id = value.XxxxxId; The error occurs in the generated .Web..g.cs file. What do I have to do for getting an optional connected entity? |
|
|
I am keen to have a look into this, but setting up a some examples here don't produce any issues with nullable associations. Can you provide some details on your model - in particular how the two entities are related (one to one, one to many, many to many) and how you have exposed this with RIA Services? Alternatively if you are able to send through a sample project exhibiting this behavior that would be ideal.
|
|