2012/2/7 Alex Maines <alexmaines.softwareengin...@gmail.com>: > Dear all > > I recently wrote my own ORM system (long story). It is basic but very > effective. It has no known bugs, but few of the features of a > sophisticated ORM tool like xHibernate. I do think it could be > extended to have more features if that were required but it has never > been necessary. > > My starting point was to use metadata for mapping the relationships, > stating the relationship between each entity class's properties and > the corresponding columns in the DB as attributes, like so > > [DataColumn("ID", SqlTypes.Int16), PrimaryKey] > public int ID { get; set; } >
Seems similar to this: http://nhforge.org/doc/nh/en/index.html#mapping-attributes /Oskar -- You received this message because you are subscribed to the Google Groups "Fluent NHibernate" group. To post to this group, send email to fluent-nhibernate@googlegroups.com. To unsubscribe from this group, send email to fluent-nhibernate+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/fluent-nhibernate?hl=en.