Hi everybody, I'm new around here. Been working with the product for a couple of weeks now. LLBLGen is the best O/R Mapper I have found. Words can't express how good it is compared to others on the market.
I think I have come across a little bug, though.
From the documentation:
If you set a foreign key field (for example Order.CustomerID) to a new value, the referenced entity by the foreign key (relation) the field is part of will be dereferenced and the field mapped onto that relation is set to null (C#) or Nothing (VB.NET).
That works when I do entityInstance.FKID = some integer number, but if I want my FK to be null in the database, I use entityInstance.SetNewFieldValue to set it to Nothing. The FK does get set to null in the database when the entity is saved.
The problem I am experiencing is that the referenced entity for the foreign key is not dereferenced and set to Nothing when I use the SetNewFieldValue method.
Is this a bug or intended functionality? BTW, I'm using Adapter.