Attributes aren't really in our game plan. The ForAttribute thing is a nice
shortcut, but it's not really something I want to promote. One of the big
tenets of Fluent NHibernate is that it doesn't pollute your entities with
mapping concerns; as a result, there aren't going to be any prebuilt
attributes included.
On Sun, Mar 1, 2009 at 12:14 PM, Saintedlama <[email protected]>wrote:

>
> Hi,
>
> thank you for taking the effort to develop such a cool piece of code
> with an excellent fluent API!
> I'm using AutoPersistenceModel in a project. For most classes and
> properties the convention over configuration approach works fine but
> I'd need fine grained control over DB field length for a couple of
> string properties. I discovered the Conventions.ForAttribute method to
> pass an action to set some IProperty properties (I'm currently setting
> the "length" for certain fields). I had to implement a custom
> attribute for this purpose - fairly simple.
>
> My question: Do you plan to provide a set default attributes/actions
> to use with ForAttribute?
>
> Cheers
> Christoph
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to