I have tried this. But it is generating empty mapping file even though there are 100 entities. The Type array has 100 entities. Am I missing anything? <?xml version="1.0" encoding="utf-8"?> <hibernate-mapping xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:nhibernate-mapping-2.2" /> Regards, Murali
On Thursday, May 16, 2013 11:36:32 PM UTC-4, Murali Mohan wrote: > I have a domain class file. It has many child classes to define the > complex types. I don't have a database schema or tables. I want to store > the objects created using the domain class in to database. I was able to do > this for single class by creating the mapping file manually. I have nearly > 100 child classes to define the complex types. It is very hard to manually > create the mappings for each of the class. *Is there any tool available > to generate the map file and database schema using Domain file?* I have > tried to use "NHibernate Mapping Generator" But it needs the DB schema to > generate the map file. > > Thanks for reading the post..!!! > > Murali > -- 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?hl=en-US. For more options, visit https://groups.google.com/groups/opt_out.
