Not with a simple call. However, if you have a static DB model, you can use ActiveWriter to create the classes.
If you want to add this functionality to generator, I'm sure that no one yells "No" ;-) -Markus 2008/10/29 SSK <[EMAIL PROTECTED]> > > our scenario is like this.. Is there any possible way in monorail? > > On Oct 24, 5:37 pm, "Jonathon Rossi" <[EMAIL PROTECTED]> wrote: > > Why are you trying to dynamically create a model at runtime? I can't see > any > > use for doing this because you won't be able to write code against it, > which > > is the whole point of ORM. > > > > On Fri, Oct 24, 2008 at 8:35 PM, SSK <[EMAIL PROTECTED]> wrote: > > > > > Sorry for typing mistake > > > > > Hi, > > > It is possible to generate model in castle at run time using > > > ActiveRecord/NHibernate based on Database table. Is there any way to > > > do > > > this or sample code available for doing it. For Example: > > > ActiveRecordStarter.CreateSchema(); - this statement will create > > > schema based on Model definition in Castle. Same thing i need it > > > reverse way. > > > > -- > > Jonathon Rossi > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Castle Project Development List" 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-devel?hl=en -~----------~----~----~----~------~----~------~--~---
