I just needed to map one property using formula, but it looks like the
formula statement isn't executed at all and I get DB exception for
nonexistent column (ChildrenCount) instead, because FNH always
includes column element in property mapping. I'm using NHibernate
3.0.0.1001 so maybe that's the
I have situation like Employee.Store vs Store.Stuff in this sample:
http://wiki.fluentnhibernate.org/show/GettingStarted%3A+First+Project
. I use ClassMapT for my mappings like in the sample. I'd like to
use convention to set DB column name to Property.Name +
Id (resulting to EMPLOYEE.STOREID).
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
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
Is this applied to the trunk? I'm just facing simmilar problems (on
Oracle) - fields don't get length specified and FK names are generated
randomly even though I specify both in my conventions...
On 20 Ún, 01:47, Steven Lyons stevenly...@gmail.com wrote:
Take II: This patch passes the tests.
you can use configuration class for Oracle from this blog post:
http://tiredblogger.wordpress.com/2008/12/04/persistanceconfiguration-for-oraclefluent-nhibernate/
On 18 Ún, 22:32, George Mauer gma...@gmail.com wrote:
Almost certainly a stupid question but I can't find the answer
anywhere.
In
Maybe I just can't see something obvious, but how can I create
convention for mapping ID fields to Oracle's sequence with name like
seq_ + entityTypeName? I'm not able to figure out how to access the
ID property type and according to source code (IdentityPart.cs) the
_property member field is not
-nhibernate/issues/detail?id=81created
for this a while back, but nobody's claimed it yet.
On Thu, Feb 19, 2009 at 7:55 AM, Filip Kinsky fi...@filovo.net wrote:
Maybe I just can't see something obvious, but how can I create
convention for mapping ID fields to Oracle's sequence with name like