We have the branch_id because sometimes we insert employees without a team.
On Wednesday, August 21, 2013 8:14:05 PM UTC-4, Patrick Doran wrote: > > nHibernate aside, your delete command implies that a team may only have > employees from the same branch, however your schema doesn't imply that. If > your schema didn't have branch_id on the employee then you could delete all > employees on a team, all teams from a branch etc. I am sure you are > enforcing that part with business logic, but just something I noticed. > > On Wednesday, August 21, 2013 5:31:50 PM UTC-4, [email protected] wrote: >> >> We call ExecuteUpdate(). I forgot to put it in the post. >> > -- You received this message because you are subscribed to the Google Groups "nhusers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/nhusers. For more options, visit https://groups.google.com/groups/opt_out.
