Patched in revision 441 and closed out your issue. Thanks for the patch
Martin :)
On Thu, Apr 2, 2009 at 10:48 AM, James Gregory wrote:
>
> Im not in a position to apply anything until Sunday, but if nobody
> else has done it by then I'll apply it.
>
> On 4/2/09, Martin Hornagold wrote:
> >
> >
Oh man, my copy/paste from the doc got fubared. Here it is, for real ;)
(check out those chapters I mentioned though, they'll help you get more fine
grained control)
Very Important Note: If the column of a association is
declared NOT NULL, NHibernate
may cause constraint violations when it creat
Declare the AdminMap HasMany as Inverse. For more details, check out
chapter 6.4 and 6.8 in the NHibernate docs:
From the Doc - May cause constraint violations when it creates or updates
the association. To prevent this problem,
use a bidirectional association discussion of bidirectional associat
There isn't a AsList() api in conversation.
--
Regards,
Karron
--~--~-~--~~~---~--~~
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 un
Im not in a position to apply anything until Sunday, but if nobody
else has done it by then I'll apply it.
On 4/2/09, Martin Hornagold wrote:
>
> Previous patch was incomplete.
> I have updated the issue and the patch:
> http://code.google.com/p/fluent-nhibernate/issues/detail?id=179
>
>
> >
>
It works now.
Thanks.
On Apr 2, 2:22 pm, Hudson Akridge wrote:
> This should have been resolved in revision 434. Please let me know if you
> still experience the problem after doing an update to the current
> revision :)
>
> On Thu, Apr 2, 2009 at 5:49 AM, depaulo wrote:
>
>
>
> >http://code.g
There's an IRepository in Fluent NHibernate too.
On Thu, Apr 2, 2009 at 11:06 AM, Martin Hornagold <
martin.hornag...@marstangroup.com> wrote:
>
> Jon,
>
> I think you've got your frameworks mixed up.
> IRepository is in S#arpArch :)
>
> -Original Message-
> From: fluent-nhibernate@google
Jon,
I think you've got your frameworks mixed up.
IRepository is in S#arpArch :)
-Original Message-
From: fluent-nhibernate@googlegroups.com
[mailto:fluent-nhibern...@googlegroups.com] On Behalf Of Jon Kruger
Sent: 02 April 2009 16:04
To: Fluent NHibernate
Subject: [fluent-nhib] Adding F
On my project, I ended up creating my own interface that derives from
IRepository because I wanted two more methods:
IList FindAll() where T : Entity;
IQueryable Query(); // returns the entire list as
IQueryable
Anyone else doing this? Anyone see value in adding to the IReposito
I replied to your question on Stack Overflow.
Jon
On Thu, Apr 2, 2009 at 9:17 AM, Rob Tennyson wrote:
>
> I wonder if one of you might be able to help me out. You can see my
> original question here: http://stackoverflow.com/questions/705943
>
> The main thing I need to figure out is whether o
This should have been resolved in revision 434. Please let me know if you
still experience the problem after doing an update to the current
revision :)
On Thu, Apr 2, 2009 at 5:49 AM, depaulo wrote:
>
> http://code.google.com/p/fluent-nhibernate/issues/detail?id=95
>
> The notes in the issue say
I wonder if one of you might be able to help me out. You can see my
original question here: http://stackoverflow.com/questions/705943
The main thing I need to figure out is whether or not an insert or
update happened on a particular table.
Unfortunately this is an inherited database and the aud
Previous patch was incomplete.
I have updated the issue and the patch:
http://code.google.com/p/fluent-nhibernate/issues/detail?id=179
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Fluent NHibernate" group.
To po
http://code.google.com/p/fluent-nhibernate/issues/detail?id=95
The notes in the issue say that you couldnt replicate this. Just to
let you know, I have posted in there the code to replicate it and have
put a (rough) fix in too. If the fix (or a more thorough version)
could be added to trunk that
Yes, you are right. I understood your design.
On Thu, Apr 2, 2009 at 5:16 PM, Karron Qiu wrote:
> In my opinion, conversation is more general and high level than automapping
> alteration. It's defferent with fluent mapping.
>
> when I choose auto mapping, it means I don't want to write mappings,
James,
I have added an issue with a patch to fix:
http://code.google.com/p/fluent-nhibernate/issues/detail?id=179
I would be grateful if you could consider adding it to the trunk.
Martin
-Original Message-
From: fluent-nhibernate@googlegroups.com
[mailto:fluent-nhibern...@googlegroups.
Sorry to butt in but is it something to do with the
.WithColumns("ProjectID");
in
References(x => x.Project).Cascade.All().WithForeignKey
("ProjectID").WithColumns("ProjectID");
I have just found that if I have a ParentID property in my Child
object and then use References(x => x.Parent, "Pare
In my opinion, conversation is more general and high level than automapping
alteration. It's defferent with fluent mapping.
when I choose auto mapping, it means I don't want to write mappings, If I
want to alter some in general, I create some conversations for all entities.
but because auto mappin
James,
I have come a cropper with inheritance auto mapping in my project.
I have the following hierarchy:
BaseEntity
|
ConcreteSuperClass
|
ConcreteSubClass
I need ConcreteSubClass to map to its own table. I do not want any
form of subclass joined subclass or union. But if I set
Concret
Not possible. If you were to create a HasManyToMany covention, how
would it be applied to the HasManyToMany from your override if the
conventions were run first?
Overrides can alter the mapping, so conventions have to be applied
last to accomodate for those potential changes.
On 4/2/09, Karron Q
I knew what is the problem. Because I wrote a HasManyToManyConversation that
set the table name, it overrided the EmployeeMap and TerritoryMap. I think
this behavor is not correct, the priority of IAutoMappingOverride should
higher than the conversation.
On Thu, Apr 2, 2009 at 2:59 PM, Karron Qiu
I tried IAutoMappingOverride, but very strange, it doesn't work.
here are my mappings. I specified a table name for the relationship table.
but fluent nhibernate still generated two tables for me.
public class EmployeeMap : IAutoMappingOverride
{
public void Override(AutoMap mapping)
22 matches
Mail list logo