nhibernate - id change



Hello

i got this simple problem using nhibernate.
I want to chang the id( primary key of the) object
and update it, to change this key.
i me getting nhibernate exception like this:
identifier of an instance of {0} altered from {1} ({2}) to {3} ({4}) // in
place of number, there are values and their types.

can anyone help me?

best regards

roman


.



Relevant Pages

  • Re: nhibernate - id change
    ... Roman wrote: ... > i got this simple problem using nhibernate. ... > I want to chang the id(primary key of the) object ...
    (microsoft.public.dotnet.languages.csharp)
  • nhibernate - id change
    ... i got this simple problem using nhibernate. ... I want to chang the id(primary key of the) object ... Prev by Date: ...
    (microsoft.public.dotnet.csharp.general)
  • Re: nhibernate - id change
    ... Jon Skeet [C# MVP] wrote: ... >> i got this simple problem using nhibernate. ... >> I want to chang the id(primary key of the) object ... automatic, hence the manual operation. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: nhibernate - id change
    ... > i got this simple problem using nhibernate. ... > I want to chang the id(primary key of the) object ... My guess is that you're using a natural key ...
    (microsoft.public.dotnet.languages.csharp)

Loading