Hi guys, during an update command I was received the following error: Operation is not valid due to the current state of the object
I had tried to remove one column from the update command and it works fine. This column is a FK that is similar to the other FK that works fine.
Any idea? tnx
this is the code that execute the update:
ti.NumeroTitolo = titolo.Numero;
ti.RKTipoTitoloGenereTitolo = titolo.RkTipoTitoloGenereTitolo;
ti.RKBanca = titolo.RkBanca;
ti.DataScadenza = titolo.DataScadenza;
ti.RKTipoEsito = titolo.RkTipoEsito;
ti.ImportoTitolo = titolo.ImportoTitolo;
_dc.SubmitChanges();