Changed to use Authenticate asp.net event instead of Authorize
[castle.git] / Samples / MindDump / bin / Author.hbm.xml
blobf0299fa36e521462604d45683ceabf9050a24cb5
1 <?xml version="1.0" encoding="utf-8" ?>\r
2 <hibernate-mapping xmlns="urn:nhibernate-mapping-2.0">\r
3         <class name="Castle.Applications.MindDump.Model.Author, Castle.Applications.MindDump" table="author">\r
4                 <id name="Id" column="id" unsaved-value="0">\r
5                         <generator class="native" />\r
6                 </id>\r
7                 <property name="Name" column="name" not-null="true" />\r
8                 <property name="Login" column="login" not-null="true" unique="true" />\r
9                 <property name="Password" column="password" not-null="true" />\r
10                 <bag name="Blogs" lazy="true" cascade="all">\r
11                         <key column="Author_id" />\r
12                         <one-to-many class="Castle.Applications.MindDump.Model.Blog, Castle.Applications.MindDump" />\r
13                 </bag>\r
14         </class>\r
15 </hibernate-mapping>\r