From: NHibernate J. <mik...@us...> - 2006-11-13 19:45:17
|
[ http://jira.nhibernate.org/browse/NH-370?page=all ] Sergey Koshcheyev updated NH-370: --------------------------------- Fix Version: LATER Version: 1.2.0.Beta2 > A way to specify the domain assembly > ------------------------------------ > > Key: NH-370 > URL: http://jira.nhibernate.org/browse/NH-370 > Project: NHibernate > Type: New Feature > Components: Core > Versions: 1.2.0.Beta2 > Reporter: Sergey Koshcheyev > Fix For: LATER > > This is just an idea. Adding a method to Configuration to specify the domain objects assembly could make other features of NHibernate easier to use. Classes will not need to be imported to be used from HQL ("select new" or enum constants), mapping files will not need the assembly attribute since its value could be automatically taken from the assembly name. > Instead of a method, a parameter could be passed to Configuration, like cfg = new Configuration("My.Assembly.Name") (with an overload taking System.Reflection.Assembly). -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.nhibernate.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |