Gotcha... I'm gonna create an interface called ICopyWithoutIDs with
one method TransientCopy() and my entities will implement that if they
need.

Thanks a lot for your help!

On Mar 4, 5:38 pm, Fabio Maulo <[email protected]> wrote:
> Yes but at that point you haven't a Clone...
> A good method name is : TransientCopy()
>
> 2010/3/4 nicklang <[email protected]>
>
>
>
>
>
> > Thanks Fabio... by this I think you mean to basically implement
> > IClonable on my entities, but do not copy the ID values?
>
> > On Mar 4, 5:20 pm, Fabio Maulo <[email protected]> wrote:
> > > You don't want a clone.
> > > what you want is a copy without the ID set.
>
> > > 2010/3/4 nicklang <[email protected]>
>
> > > > Hi!
>
> > > > I want to GET an object, modify it then save - but I want it to be
> > > > INSERTED - not updated.  The object would have a new generated ID and
> > > > everything.  (This is to help with versioning/auditing my objects).
>
> > > > Thanks for your insights!
>
> > > > --
> > > > You received this message because you are subscribed to the Google
> > Groups
> > > > "nhusers" group.
> > > > To post to this group, send email to [email protected].
> > > > To unsubscribe from this group, send email to
> > > > [email protected]<nhusers%[email protected]
> > > >  >
> > <nhusers%[email protected]<nhusers%252bunsubscr...@googlegroup 
> > s.com>>
> > > > .
> > > > For more options, visit this group at
> > > >http://groups.google.com/group/nhusers?hl=en.
>
> > > --
> > > Fabio Maulo
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "nhusers" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to
> > [email protected]<nhusers%[email protected] 
> > >
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/nhusers?hl=en.
>
> --
> Fabio Maulo

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en.

Reply via email to