I am getting the following error when executing:
new NHibernate.Tool.hbm2ddl.SchemaExport(cfg).Create(true, true);
Could not configure datastore from input stream
System.Xml.Schema.XmlSchemaValidationException: The element 'class' in namespace 'urn:nhibernate-mapping-2.0' has invalid child element 'property' in namespace 'urn:nhibernate-mapping-2.0'. List of possible elements expected: 'urn:nhibernate-mapping-2.0:meta urn:nhibernate-mapping-2.0:jcs-cache urn:nhibernate-mapping-2.0:cache urn:nhibernate-mapping-2.0:id urn:nhibernate-mapping-2.0:composite-id'.
Any help, would be appreciated, thanks.
Mardo
|