Hi all,
I just did a new build, and it looks like Foreign(x=>x.User) is no
longer supported. To me it seems like both Foreign(lamda) and Foreign
(string) should be supported. Any plans on adding it back?
Thanks,
Chris
--~--~-~--~~~---~--~~
You received this messag
I did exactly the same thing, created a custom configuration builder.
I have attached it, plus the patch to get the facilities to build.
Hope this helps,
Chris
On Thu, Jan 8, 2009 at 10:48 AM, Tuna Toksöz wrote:
> Hmm,
> What part of castle facility is failing to build?
>
>
> Tuna Toksöz
> http:
Hi Ryan,
take a look at this thread:
http://groups.google.com/group/fluent-nhibernate/browse_thread/thread/4cec13861eeccde3/96951c425ebb785d?hl=en#96951c425ebb785d
I planned on creating a patch, but I didn't find the time yet.
Chris
On Wed, Jan 7, 2009 at 12:33 PM, Ryan Kelley wrote:
>
> I ha
Why not have both options? :)
On Wed, Dec 24, 2008 at 9:39 AM, Chris Marisic wrote:
>
> If you're classes are that similar that you could set up a basemap for
> them, why wouldn't you just use AutoMapping since that's the point of
> it to have it be able to handle the commonality of classes easi
I can envision schenarios where you'd want to inherit from a MyBaseMap class.
I'm for James' solution .
On Wed, Dec 24, 2008 at 9:28 AM, Chris Marisic wrote:
>
> I think Chris's answer is the best solution. Adding in Initialization
> methods makes me feel that I'm working with data tables and ot
As a temporary solution, you can mark your MyClassMap class as sealed,
and the warnings will go away.
Chris
On Tue, Dec 23, 2008 at 11:37 PM, James Gregory wrote:
>
> Because that's not a very nice solution. The whole point of a fluent
> API is that it's readable, and having base prefixed on ev
hat you can do is to interfer with the XML generation and work on that
>
> On Thu, Dec 18, 2008 at 9:58 PM, Paul Batum wrote:
>>
>> Chris I don't think you are missing anything. As far as I can tell
>> specifying the column ordering is not supported.
>>
>
;>
>> On Mon, Dec 15, 2008 at 6:01 AM, Chris Constantin
>> wrote:
>>>
>>> Is it possible to replace:
>>> Id(x => x.Id)
>>>.GeneratedBy.Foreign("User");
>>> with
>>> Id(x => x.Id)
&
Is it possible to replace:
Id(x => x.Id)
.GeneratedBy.Foreign("User");
with
Id(x => x.Id)
.GeneratedBy.Foreign(x => x.User);
?
It would be refactoring friendly.
Thanks,
Chris
--~--~-~--~~~---~--~~
You received this message
I'm generating the db schema using NHibernate schema export tool. The
columns are generated in the order specified in the mappings files,
when using the xml mappings. After switching to FluentNHibernate
though, the columns appear to be in random order, more or less, and I
cannot find any way to co
10 matches
Mail list logo