Remove rows from child tables using nhibernate nhsession -


i have mapping of feedbacksessions (parent table) , resultrows table (child table). need delete rows child table using nhsession.

how delete rows child table , update parent table ?

        manytoone(x => x.resultrow, m =>         {             m.column("resultrowid");             m.notnullable(false);             m.foreignkey("fk_feedbacksessions_resultrows");             m.cascade(cascade.all);         }); 


Comments

Popular posts from this blog

c# - SelectList with Dictionary, add values to the Dictionary after it's assigned to SelectList -

mysqli - Php Mysqli_fetch_assoc Error : "Warning: Illegal string offset 'name' in" -

c - "error: subscripted value is neither array nor pointer nor vector", but why? -