nhibernate « Delete « JPA Q&A





1. Need help regarding cascading save,delete of non collection entity    stackoverflow.com

I have an entity A who has entity B.

Class Entity A
{
    public EntityB;
}

Class Entity B
{
    public Entity A;
}
Entity B has one to one relationship with ...

2. Hibernate many-to-many delete    stackoverflow.com

I have many-to-many relationship in NHibernate between two classes Actor and Movie.

    public ActionResult removeMovieFromActor(int MovieId, int ActorId)
    {
       ...