Skip to content

NHPG-2 - Add Support for NHibernate.Mapping.Attributes #5

@nhibernate-bot

Description

@nhibernate-bot

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


Bill Pierce added a comment - 09/Oct/08 9:30 PM

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


Hielke Hoeve added a comment - 15/Dec/08 8:48 PM

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions