perfect - thanks a lot for quick response.

On 11 Bře, 09:49, James Gregory <jagregory....@gmail.com> wrote:
> Conventions can be applied to standard 
> ClassMaps.http://wiki.fluentnhibernate.org/show/StandardMappingConventions
>
> On Wed, Mar 11, 2009 at 7:51 AM, Filip Kinsky <fi...@filovo.net> wrote:
>
> > I'm beginning with FluentNH and I'm just thinking if it's possible to
> > combine standard ClassMaps with conventions approach. I think it's not
> > possible, but I'm rather asking... I'd like for example to define that
> > all string properties with name "Description" should map to "DESCR"
> > field with length 200 + not null. I could implement it in my ClassMap
> > base class (ancestor of all my mapping classes) using reflection, but
> > I'm thinking if there's already something ready for this kind of
> > problems. Some other example could be foreign key names, M:N table
> > names etc. Is there anything in FluentNH I could use for this already
> > or should I implement some helper methods in by ClassMap base class?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to