Yes, I overlooked that you used Cascade = ManyRelationCascadeEnum.SaveUpdate
That must be Cascade = ManyRelationCascadeEnum.AllDeleteOrphan to automatically delete posts. -Markus 2009/1/8 Mark Jensen <[email protected]>: > > Hi Markus > > the Inverse = true, doesn't seem to do anything, the changes are not > persisted :/ > > /Mark > > On Jan 8, 3:18 pm, "Markus Zywitza" <[email protected]> wrote: >> 2009/1/8 Mark Jensen <[email protected]>: >> >> > [HasMany(typeof(Post), >> > Table = "Posts", >> > ColumnKey = "BlogId", >> > Access = PropertyAccess.NosetterCamelcase, >> > RelationType = RelationType.Bag, >> Inverse = true, >> > Cascade = ManyRelationCascadeEnum.SaveUpdate >> > )] >> > private IList<Post> PostList >> > { >> > get { return postlist; } >> > } >> >> -Markus > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Castle Project Users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/castle-project-users?hl=en -~----------~----~----~----~------~----~------~--~---
