So far what i have read ......
session.begintransaction and session.saveorupdate/Delete create two
separate session.
i do not know how....but if you have solutions regarding this let me
know as well...
> Hi John,
>
> I tried using SaveOrUpdate instead of Update.
>
> Also I missed one thing. While creating the session factory, I am adding
> more than one assembly to the configuration object.
>
> *Code sample*
> **
>
> files = Directory.GetFiles(src, "*Entities.dll");
>
> foreach (string file in files)
>
> {
>
> Assembly assembly;
>
> assembly = Assembly.LoadFrom(file);
>
> configuration.AddAssembly(assembly);
>
> }
>
> Will this be the reason for the above said issue?
>
> Regards,
> Deepraj D
>
> On Wed, Jun 2, 2010 at 4:56 PM, John Davidson <
jwdavid...@gmail.com> wrote:
> > Try using SaveOrUpdate instead of just Update
>
> > John Davidson
>
> >>
nhusers+u...@googlegroups.com<
nhusers%2Bunsu...@googlegroups.com>
> >> .
> >
nhusers+u...@googlegroups.com<
nhusers%2Bunsu...@googlegroups.com>
> > .