You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to NBuilder
Info for anyone using castle active record...
You can easily create a custom NBuilder persistence service like the
one below and register it using the BuilderSetup class.
Once you've done that, you can simply save your active record classes
like:
Builder<Product>.CreateListOfSize(10).Persist();
(Remember to also disable naming for your primary key, otherwise AR
will think they're existing entities)
You could easily do the same thing for NHibernate too.
(p.s. I might release NBuilder.ActiveRecordSupport.dll /
NBuilder.NHibernateSupport.dll / NBuilder.LinqToSqlSupport.dll etc
with these in to make things easier)