Hi,
I’ve some issue with 1-1 relationship.
I’m using latest version of VP for linux, c# orm generation code and smart assosaction.
I have follow objects one<1–1>two, when I’ve try to assign null value to one.two object attribute I always get null pointer exception.
I take a look to code generated and I found something IMHO wrong. I think need to insert the line below
public global::com.dbi.extranet.newsletter.ElementoNewsletter ElementoNewsletter
{
set
{
if (__elementoNewsletter != value)
{
this.__elementoNewsletter = value;
--->>if (__elementoNewsletter != null)<<----
__elementoNewsletter.Notizie = this;
}
}
get
{
return __elementoNewsletter;
}
}
Note: This patch is made for VP Suite 3.2 SP1 (VP-UML 6.2 SP1). Please make sure you have a valid product license. Otherwise, you won’t be able to start up the product after the installation.
If there is anything I can help, please do not hesitate to ask.