i have 2 entities

Parent and Child  in TPT Inheritance ( Table per Type Inheritance ) mapped
by joined-subclass

when i tried to do that :

Session.CreateQuery(string.Format("Delete From Child").ExecuteUpdate();

i get this error :

could not insert/select ids for bulk delete[SQL: insert into
#[dbo].[ChildB2] SELECT childx0_.[Id] as [Id] FROM [dbo].[Child] childx0_
inner join [dbo].[Parent] childx0_1_ on childx0_.[Id]=childx0_1_.[Id]]

any Help?

-- 
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