Add Support for NHibernate.Mapping.Attributes

Description

Add support for reading NHibernate.Mapping.Attributes information from assembly.

Environment

None

Activity

Show:

Alex Zaytsev May 18, 2017 at 11:30 PM

Hielke Hoeve December 15, 2008 at 7:48 AM

Will it also be possible to use self made attributes, like a subclass of EnumStringType?

Currently I have altered the source so that it can generate proxies from classes with Attributes, but any attribute that is not in NHibernate will make the generator crash.

Bill Pierce October 9, 2008 at 8:30 AM

TODO:
Add an IConfigurationProvider that will provide the NHibernate Configuration object to use for generating proxies
Refactor NHibernate.ProxyGenerators.ActiveRecord to be an IConfigurationProvider rather than an IProxyGenerator
Add NHibernate.ProxyGenerators.MappingAttributes and implement IConfigurationProvider
Add a /c configuration option to specify which provider to use
Figure out how to configure the proxy generator and the configuration provider

Details

Assignee

Reporter

Affects versions

Priority

Who's Looking?

Open Who's Looking?

Created October 9, 2008 at 7:51 AM
Updated May 18, 2017 at 11:30 PM
Who's Looking?