TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
CHAITANYA KIRAN KASANI
NA
335
132.3k
NonUniqueObjectException was caught NHibernate C#
Dec 10 2015 7:39 AM
NonUniqueObjectException was caught
'a different object with the same identifier value was already associated with the session: 64, of entity' at SaveOrUpdate method NHibernate Exception C#
Savint Two Objects in Single Method Using SaveOrUpdate() method Showing the above exception
my code is as below
i.e.,
object1=SaveOrUpdate(object1)
forearch(var item in object2)
{
otherObjectRepository.SaveOrUpdate(item);
}
please hlep me to rectify the error..
Reply
Answers (
2
)
What is difference B/w two declaration .
Generate Textbox and retrieve Values