locked
inserting many-to-many association. RRS feed

  • Question

  • There is a many to many association between an author and Book. I started using stored procedure to map my insert and delete of teh link table. However I did not specify stored procedures for inserting, updating and deleting author and book and surprisingly it worked. From what i knew. If you use stored procedure for doing crud than all the related entities must also use store procedure?

    Has that changed or did i know understand what it means that all the related entities and their associations must use stored procedure.

    Zeeshan Hirani

    Friday, June 5, 2009 9:38 PM

Answers

  • Hi *,

    as far as I remember this "rule" is only for entities on "1-" end of association (on EFv1).
    Jiri {x2} Cincura
    Friday, June 12, 2009 1:05 PM