[MonoDevelop] monoquery w/ nhibernate

Christian Hergert chris@mosaix.net
Tue, 16 Nov 2004 12:41:08 -0800


On Tue, 2004-11-16 at 12:32 -0800, Todd Berman wrote:
> On Tue, 2004-11-16 at 12:27 -0800, Todd Berman wrote:
> > On Tue, 2004-11-16 at 00:35 -0800, chris@mosaix.net wrote:
> > > added some experimental support monoquery to output NHibernate mapping
> > > files for tables. you can save the output of "Extract Data" on a
> > > table/view to an xml file (using save-as) and same with nhibernate
> > > mapping. still only postgresql support though. Also, it will install now
> > > rather than just work from `make run`. Adds a few icons from GnomeDB
> > > too.
> > > 
> > 
> > Does this add a NHibernate query for monoquery?
> > 
> 
> And by query, I meant dependency.
> 
> ugh. :)
> 
> --Todd
> 

No dependency needed, it simply takes a DataTable and converts it to the
proper xml for for NHibernate mapping file. Its really basic as it only
generates your properties (for now). I am hoping to make it import a
DataSet and generate table correlations. My idea is to be able to take
an entire database and build everything you need to have either a
kick-ass setup for ASP.NET or db/webservices backed application. (as you
can see i have many dreams for MD :D)