[fluent-nhib] Re: Problems with ForeignKeyConvention

2009-08-24 Thread Hanif Virani
Awesome, thanks! Problem solved. Great library AND excellent, quick support. :thumps up: On Aug 25, 4:51 am, James Gregory wrote: > Just committed a fix for this. It'll take a few minutes to propagate through > to the main site, but when it does you should be able to get the latest > binary fro

[fluent-nhib] Generic EntityBase ?

2009-08-24 Thread Roberto Hernández
Is it possible to have a Generic EntityBase where T is the type of the Id property? I tried to do something similar but I keep getting the type of the Id column read from the first type it encounters. I used the following reference when configuring my AutoMapping discoverys. http://wiki.fluentnhib

[fluent-nhib] Re: Getting an error about a null ContainingEntityType when Automapping a Many-Many

2009-08-24 Thread James Gregory
Basically, there shouldn't be a way to get a uni-directional many-to-many when using automapping, as it assumes they are just one-to-many's. So quite how you're getting to that line of code is beyond me. All the tests I've put together haven't been able to replicate your issue, so you're going to h

[fluent-nhib] Re: Getting an error about a null ContainingEntityType when Automapping a Many-Many

2009-08-24 Thread James Gregory
I'm guessing those aren't your actual class and property names? Can you share the real ones? It'll help with the pairing code. On Sat, Aug 22, 2009 at 7:48 PM, tlyakhov wrote: > > It's pretty simple, just this: > >AutoPersistenceModel model = AutoMap.Assembly(oAssembly) > >

[fluent-nhib] Re: How do I access additional fields in a HasManyToMany pivot table?

2009-08-24 Thread James Gregory
A little behind on a reply to this... Yes, having two one-to-many's is the recommended approach. By adding extra fields to your join table you're effectively creating a new entity, the awkwardness you speak of is because you're not thinking about it as an entity. On Wed, Aug 5, 2009 at 4:59 PM, Br

[fluent-nhib] Re: abstract subclass not mapping

2009-08-24 Thread James Gregory
Firstly, your base class can be abstract. What gives you the impression it can't be? Secondly, read about inheritance with automapping, and then specifically how to configure the subclass strategy

[fluent-nhib] Re: Trouble with upgrade to RC

2009-08-24 Thread James Gregory
I've just committed a fix for this. It'll take a few minutes for them to show up, but you should be able to get the binaries from the downloads page. On Sat, Aug 22, 2009 at 5:22 PM, Kasper22 wrote: > > Hi, > > In the ManyToOneMapping class how does the Class property get set? > That appears to

[fluent-nhib] Re: Problems with ForeignKeyConvention

2009-08-24 Thread James Gregory
Just committed a fix for this. It'll take a few minutes to propagate through to the main site, but when it does you should be able to get the latest binary from the downloads page. On Tue, Aug 25, 2009 at 12:36 AM, Hanif Virani wrote: > > Sure. My entities are as follows : > > Book : > > public

[fluent-nhib] Re: Line ending settings for git repo

2009-08-24 Thread Jason Diamond
FWIW, I just installed Git on my work machine today (using msysGit) and core.autocrlf was set to true. I hadn't created a global .gitconfig yet so this must be a "default" setting. A bunch of txt, xml, xsd, and spark files in the tools folder were shown as modified by me when I ran "git status".

[fluent-nhib] Re: Problems with ForeignKeyConvention

2009-08-24 Thread Hanif Virani
Sure. My entities are as follows : Book : public class Book : Entity { public virtual string Title { get; set; } public virtual string Author { get; set; } public virtual BookGenre BookGenre { get; set; } } BookGenre : public class BookGenre : Entity { public vi

[fluent-nhib] Re: Table per class hierarchy mapping error

2009-08-24 Thread James Gregory
Can you verify what the version number is of FNH you're using? The many-to-one looks wrong because in 1.0 we don't even generate a column attribute, we always create a column element. On Fri, Aug 14, 2009 at 2:46 PM, Roger wrote: > > After updating my copy of FNH and other dlls, I am still getti

[fluent-nhib] Re: Subclass mappings

2009-08-24 Thread James Gregory
We should now support an interface as a top level parent, give it a shot with the latest binaries from the downloads page. On Sat, Aug 22, 2009 at 1:19 PM, James Gregory wrote: > This has always been the case with fluent, we've never had proper support > for interfaces. We might be able to addres

[fluent-nhib] Re: Line ending settings for git repo

2009-08-24 Thread James Gregory
how come you couldn't cmd it? On Tue, Aug 25, 2009 at 12:23 AM, Mikael Henriksson wrote: > Yeah that worked, I couldn't cmd it though had to cfg it. I hate > configuration files ;) > > > On Tue, Aug 25, 2009 at 1:00 AM, James Gregory wrote: > >> If you're getting line ending issues you need to se

[fluent-nhib] Re: Line ending settings for git repo

2009-08-24 Thread Mikael Henriksson
Yeah that worked, I couldn't cmd it though had to cfg it. I hate configuration files ;) On Tue, Aug 25, 2009 at 1:00 AM, James Gregory wrote: > If you're getting line ending issues you need to set core.autocrlf to false > git config core.autocrlf false > > > On Mon, Aug 24, 2009 at 11:46 PM, Jame

[fluent-nhib] Re: AutoMap / 2nd Level Cache issue?

2009-08-24 Thread James Gregory
This should be fixed now. On Sat, Aug 22, 2009 at 1:04 PM, James Gregory wrote: > You should be able to set it, this is a bug. Will address soon. > > > On Fri, Aug 21, 2009 at 5:16 AM, Eddie Cianci wrote: > >> >> Is not being able to set the Caching strategy from the >> ForTypesThatDeriveFrom<> m

[fluent-nhib] Re: One-To-Many against Enum

2009-08-24 Thread James Gregory
The first error points to something else being wrong, it's complaining because it's encountered a set, which normally means it's missing something before the set, typically an . You'll probably need an AsElement on the end there, to tell it that you're not creating a collection of entities. On Mo

[fluent-nhib] Re: Line ending settings for git repo

2009-08-24 Thread James Gregory
If you're getting line ending issues you need to set core.autocrlf to false git config core.autocrlf false On Mon, Aug 24, 2009 at 11:46 PM, James Gregory wrote: > There's also core.whitespace you could look at too. > > > On Mon, Aug 24, 2009 at 11:44 PM, James Gregory > wrote: > >> That's quite

[fluent-nhib] Re: Line ending settings for git repo

2009-08-24 Thread Mikael Henriksson
So what does this mean? Can I finally use GIT without it complaining about the line endings?I got scared when GIT complained about every file being changed and ran away from using GIT, What is the workaround? On Mon, Aug 24, 2009 at 10:36 PM, Morten Maxild wrote: > Well both true and false, shou

[fluent-nhib] Re: UniqueKey KeyName

2009-08-24 Thread Jason Wisener
Ok, thanks. -jw On Mon, Aug 24, 2009 at 5:03 PM, James Gregory wrote: > After some thorough investigation and talking with Fabio and Tuna, UniqueKey > (or more specifically the unique-key attribute) isn't for naming your > constraint. It's for specifying which columns are used in the constraint.

[fluent-nhib] Re: Using an ISet<>

2009-08-24 Thread James Gregory
Fixed in the latest commit. Automapper should now be able to detect sets. On Thu, Aug 20, 2009 at 9:03 PM, Eddie Cianci wrote: > > Hi Chuck, > > In your Fluent Configuration, where you have AutoMappings.Add(), what > happens if you add: > >.ForTypesThatDeriveFrom(map => { >

[fluent-nhib] Re: Line ending settings for git repo

2009-08-24 Thread James Gregory
There's also core.whitespace you could look at too. On Mon, Aug 24, 2009 at 11:44 PM, James Gregory wrote: > That's quite strange, what's your core.autocrlf set to? > > > On Mon, Aug 24, 2009 at 11:42 PM, Mikael Henriksson > wrote: > >> As soon as I save a file it says that the last line ending

[fluent-nhib] Re: Line ending settings for git repo

2009-08-24 Thread James Gregory
That's quite strange, what's your core.autocrlf set to? On Mon, Aug 24, 2009 at 11:42 PM, Mikael Henriksson wrote: > As soon as I save a file it says that the last line ending was removed! > Actually quite funny :) > > On Tue, Aug 25, 2009 at 12:29 AM, Mikael Henriksson > wrote: > >> So what doe

[fluent-nhib] Re: ForeignKey Constraint for HasOne

2009-08-24 Thread James Gregory
I can't reproduce the constraint naming issue, are you still having that problem? On Sun, Aug 23, 2009 at 3:02 PM, Jason Wisener wrote: > > Sorry, I was able to get it to work. > > Thanks, > Jason > > On Sat, Aug 22, 2009 at 7:07 AM, James Gregory > wrote: > > Your first question has been raised

[fluent-nhib] Re: Line ending settings for git repo

2009-08-24 Thread Mikael Henriksson
As soon as I save a file it says that the last line ending was removed! Actually quite funny :) On Tue, Aug 25, 2009 at 12:29 AM, Mikael Henriksson wrote: > So what does this mean? Can I finally use GIT without it complaining about > the line endings?I got scared when GIT complained about every f

[fluent-nhib] Re: UniqueKey KeyName

2009-08-24 Thread James Gregory
After some thorough investigation and talking with Fabio and Tuna, UniqueKey (or more specifically the unique-key attribute) isn't for naming your constraint. It's for specifying which columns are used in the constraint. You can't currently specify the names. There's a JIRA issue

[fluent-nhib] Re: Trouble with SubclassMap in RC 1

2009-08-24 Thread Everett Muniz
Thanks James! On Mon, Aug 24, 2009 at 6:40 AM, James Gregory wrote: > Just committed a fix for this. You should just be able to update to the > latest binaries from the site. > > > On Thu, Aug 20, 2009 at 1:43 PM, Everett Muniz wrote: > >> :-) thanks James >> >> >> On Thu, Aug 20, 2009 at 8:20 AM

[fluent-nhib] Re: Problems with ForeignKeyConvention

2009-08-24 Thread James Gregory
I think there's a bug somewhere, a couple of people have reported this. Could you show me your entities? On Mon, Aug 24, 2009 at 10:59 PM, Hanif Virani wrote: > > I have a Book entity which contains a BookGenre. And a BookGenre > entity which contains an IList. i.e a one to many relationship : >

[fluent-nhib] Problems with ForeignKeyConvention

2009-08-24 Thread Hanif Virani
I have a Book entity which contains a BookGenre. And a BookGenre entity which contains an IList. i.e a one to many relationship : BookGenre HasMany Books. Both are derived from a common Entity class which contains an ID. In my DB table, the Book table contains "BookGenreID" as foreign key. To cha

[fluent-nhib] Re: Line ending settings for git repo

2009-08-24 Thread Morten Maxild
Well both true and false, should work on windows, and false is in theory (not in practice) better if git is guessing wrong and converts something that can’t be converted back. Do you know if people that are cloning (and maybe contributing) can tell by a ‘standard method’ whether to use true

[fluent-nhib] Re: Line ending settings for git repo

2009-08-24 Thread James Gregory
I tried to get a consensus of which .Net OSS projects were using which setting, but nobody really got back to me on it. I'm not so bothered if we're not the only one with it set to false. On Mon, Aug 24, 2009 at 8:56 PM, Morten Maxild wrote: > But everyone but a first-time user will eventually

[fluent-nhib] Re: Multiple Entities \ Same Table \ Different IDs

2009-08-24 Thread Rob Gibbens
This is for a legacy database. As we have dug deeper into the original "design", we've realized that the primary key is fine. We just need to change a different column depending on another column's values. So for now, we're just going to add an interceptor, and in the OnBeforeSave, we'll query

[fluent-nhib] Re: Line ending settings for git repo

2009-08-24 Thread Morten Maxild
But everyone but a first-time user will eventually care about this setting at the repo level, because the global (maybe by default, if unset) setting will not work with many projects….in my case spark uses false, mvccontrib uses true, and FNH uses false The sooner you understand the settin

[fluent-nhib] Re: One-To-Many against Enum

2009-08-24 Thread Corey Coogan
Fair enough. I was expecting that but didn't have the code in front of me at the time. Here's what I get: The element 'set' in namespace 'urn:nhibernate-mapping-2.2' has invalid child element 'one-to-many' in namespace 'urn:nhibernate- mapping-2.2'. List of possible elements expected: 'loader, s

[fluent-nhib] Re: Line ending settings for git repo

2009-08-24 Thread James Gregory
I would've preferred to have it unset, whatever that setting is (I assume true). We are an exclusive windows project, but it's one more thing for a contributor to have to remember. On Mon, Aug 24, 2009 at 8:36 PM, Morten Maxild wrote: > So you would have preferred ‘true’ to begin with? > > > >

[fluent-nhib] Re: Line ending settings for git repo

2009-08-24 Thread Morten Maxild
So you would have preferred ‘true’ to begin with? I say keep it, as long as we are dealing with a pure windows platform project (are we?) _ From: fluent-nhibernate@googlegroups.com [mailto:fluent-nhibern...@googlegroups.com] On Behalf Of James Gregory Sent: Monday, August 24, 200

[fluent-nhib] Re: Line ending settings for git repo

2009-08-24 Thread James Gregory
It is, yes. I'm not sure how we got into this situation, and I'm not sure what to do about it either. We can leave it as-is and continue to confuse first time forkers, or we can change it back to how it should be and suffer the massive every-line-in-the-project-has-changed commit. On Mon, Aug 24,

[fluent-nhib] Line ending settings for git repo

2009-08-24 Thread Morten Maxild
Hi, Is it correct to define core.autocrlf=false for a clone? Regards Maxild --~--~-~--~~~---~--~~ 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@g

[fluent-nhib] Re: Multiple Entities \ Same Table \ Different IDs

2009-08-24 Thread Hudson Akridge
What do your class definitions look like? On Mon, Aug 24, 2009 at 1:28 PM, Rob Gibbens wrote: > > It seems like a Discriminator would allow me to use the same table if > I wanted two entities with different properties. What I need though > is basically the SAME entity (same properties, etc), wi

[fluent-nhib] Re: FNH RC: Default EnumerationPropertyConvention stops my convention from modifying type

2009-08-24 Thread James Gregory
Build is fixed again. On Mon, Aug 24, 2009 at 6:19 PM, James Gregory wrote: > Oh my! > > > On Mon, Aug 24, 2009 at 6:15 PM, Jason Diamond wrote: > >> >> On Mon, Aug 24, 2009 at 9:52 AM, James Gregory >> wrote: >> > The numbers on the download page are build numbers, reflective of the >> builds >>

[fluent-nhib] Re: Cannot change CustomType set by default convention.

2009-08-24 Thread James Gregory
No worries. Yes, the implementation is a little bit peculiar, but it works. On Mon, Aug 24, 2009 at 7:48 PM, Jason Diamond wrote: > > Hi James, > > I did try it, but didn't try hard enough. =( > > I used CustomType to override the convention in my class map. When I > saw my breakpoint hit in my

[fluent-nhib] Re: Cannot change CustomType set by default convention.

2009-08-24 Thread Jason Diamond
Hi James, I did try it, but didn't try hard enough. =( I used CustomType to override the convention in my class map. When I saw my breakpoint hit in my convention's Apply method for that property and call into CustomType, I immediately assumed it was going to override the custom type specified i

[fluent-nhib] Re: Cannot change CustomType set by default convention.

2009-08-24 Thread Jason Diamond
Wow, that code sample I typed in is messed up. Just in case anybody cares... public class PersistentEnumConvention : IPropertyConventionAcceptance, IPropertyConvention { public void Accept(IAcceptanceCriteria criteria) { criteria.Expect(x => x.Property.PropertyType.IsEnum); }

[fluent-nhib] Re: Multiple Entities \ Same Table \ Different IDs

2009-08-24 Thread Rob Gibbens
It seems like a Discriminator would allow me to use the same table if I wanted two entities with different properties. What I need though is basically the SAME entity (same properties, etc), with DIFFERENT Id () mappings. Can't figure out how to make this happen though. On Aug 21, 4:04 pm, Hu

[fluent-nhib] Re: Cannot change CustomType set by default convention.

2009-08-24 Thread James Gregory
Are you speculating or have you tried what you've suggested? The GetDefaultType relies on the SetDefaultValue method, which is used to supply a default that will be overwritten by anything the fluent interface or conventions specify; it's there only for if somebody doesn't specify anything. You can

[fluent-nhib] Re: Cannot change CustomType set by default convention.

2009-08-24 Thread Jason Diamond
Hi James, Thanks for the fix for this. In your commit that fixed this, you added a the GetDefaultType method to PropertyPart. If the property type is an enum or nullable enum, you're basically setting the custom type for the property. This almost seems like a hidden convention. I want to be abl

[fluent-nhib] Re: UniqueKey KeyName

2009-08-24 Thread Jason Wisener
Ok, here is the link after I uploaded here. http://www.2shared.com/file/7354243/d1b82bf0/UniqueConIssue.html let me know if you have trouble with it, you'll need to create the database listed in the config file and run the one test I have in there. THanks, Jason On Mon, Aug 24, 2009 at 1:01 PM

[fluent-nhib] Re: UniqueKey KeyName

2009-08-24 Thread James Gregory
What about using something like http://www.2shared.com/ On Mon, Aug 24, 2009 at 6:57 PM, Jason Wisener wrote: > > I tried to send it to you. but it says, it's too large to send. > > You have a place I can ftp it? > > thanks > -jw > > On Mon, Aug 24, 2009 at 12:53 PM, Jason Wisener wrote: > > Sur

[fluent-nhib] Re: UniqueKey KeyName

2009-08-24 Thread Jason Wisener
I tried to send it to you. but it says, it's too large to send. You have a place I can ftp it? thanks -jw On Mon, Aug 24, 2009 at 12:53 PM, Jason Wisener wrote: > Sure, > > Here it is, create a database called ShowTheIssueDB on your local sql > server.  Then Run the one test I have in the test

[fluent-nhib] Re: FNH RC: Default EnumerationPropertyConvention stops my convention from modifying type

2009-08-24 Thread James Gregory
Oh my! On Mon, Aug 24, 2009 at 6:15 PM, Jason Diamond wrote: > > On Mon, Aug 24, 2009 at 9:52 AM, James Gregory > wrote: > > The numbers on the download page are build numbers, reflective of the > builds > > on teamcity.codebetter.com, they are not revision numbers. Git doesn't > have > > increm

[fluent-nhib] Re: FNH RC: Default EnumerationPropertyConvention stops my convention from modifying type

2009-08-24 Thread Jason Diamond
On Mon, Aug 24, 2009 at 9:52 AM, James Gregory wrote: > The numbers on the download page are build numbers, reflective of the builds > on teamcity.codebetter.com, they are not revision numbers. Git doesn't have > incrementing revisions so we don't use them for the version anymore. Aw, sorry about

[fluent-nhib] Re: FNH RC: Default EnumerationPropertyConvention stops my convention from modifying type

2009-08-24 Thread James Gregory
The numbers on the download page are build numbers, reflective of the builds on teamcity.codebetter.com, they are *not* revision numbers. Git doesn't have incrementing revisions so we don't use them for the version anymore. On Mon, Aug 24, 2009 at 5:39 PM, Jason Diamond wrote: > > On Mon, Aug 24

[fluent-nhib] Re: FNH RC: Default EnumerationPropertyConvention stops my convention from modifying type

2009-08-24 Thread Jason Diamond
On Mon, Aug 24, 2009 at 8:19 AM, James Gregory wrote: > Should be fixed now, get the latest binaries off the site. Do you mean the binaries located here? http://fluentnhibernate.org/downloads It's showing build 560 as the latest, but the change list on the Google Code project shows that the lat

[fluent-nhib] Re: UniqueKey KeyName

2009-08-24 Thread James Gregory
I can't reproduce this, can you provide a test case or example project that can recreate this? On Fri, Aug 21, 2009 at 1:18 PM, Jason Wisener wrote: > > Thanks > > On Fri, Aug 21, 2009 at 2:40 AM, James Gregory > wrote: > > It is now :) > > > > On Fri, Aug 21, 2009 at 3:08 AM, Jason Wisener > wr

[fluent-nhib] Re: medium trust

2009-08-24 Thread James Gregory
An unrelated change has had the side-effect of removing the default conventions... so no patch required! On Mon, Aug 24, 2009 at 10:24 AM, Morten Maxild wrote: > FineJ > > > > As a side note on running NH with FNH in medium trust: To disable the > reflection-optimizer (necessary under medium tr

[fluent-nhib] Re: AutoMapVersion problem

2009-08-24 Thread James Gregory
I've been unable to recreate your issue. Without seeing some kind of entity, I'm going to consider this not an issue. On Sat, Aug 22, 2009 at 11:51 AM, James Gregory wrote: > Could you show us the entity in question? > > > On Fri, Aug 21, 2009 at 3:47 PM, Chuck wrote: > >> >> I did change my Ver

[fluent-nhib] Re: FNH RC: Default EnumerationPropertyConvention stops my convention from modifying type

2009-08-24 Thread James Gregory
Should be fixed now, get the latest binaries off the site. On Mon, Aug 24, 2009 at 10:55 AM, James Gregory wrote: > It's on our list of things to fix. > > > On Mon, Aug 24, 2009 at 7:18 AM, Andre Loker wrote: > >> >> I reported this as an issue as for me it is quite a show stopper. >> >> http://

[fluent-nhib] Re: format_sql config option

2009-08-24 Thread James Gregory
Merged. Thanks lee. On Mon, Aug 24, 2009 at 1:53 PM, James Gregory wrote: > Great, thanks lee. I'll get this merged as soon as I can. > > > On Mon, Aug 24, 2009 at 1:51 PM, Lee Henson wrote: > >> >> Hi list >> >> I've added support for nh's format_sql option: >> >> >> http://github.com/leemhenson

[fluent-nhib] Re: Cannot change CustomType set by default convention.

2009-08-24 Thread James Gregory
Should be fixed now, get the latest binaries off the site. On Sat, Aug 22, 2009 at 11:49 AM, James Gregory wrote: > Thanks. We're aware of this issue now and should have a fix out soon. > > > On Fri, Aug 21, 2009 at 7:21 PM, Andre Loker wrote: > >> >> Oh, how embarrassing - precisely the same qu

[fluent-nhib] Re: One-To-Many against Enum

2009-08-24 Thread James Gregory
I think you're going to have to be a little bit more specific than "barking about the set". Try updating your binaries to the latest ones. On Mon, Aug 24, 2009 at 3:29 PM, Corey Coogan wrote: > > I have a class that has a one-to-many relationship with an Enum. It > is expressed as a Student can

[fluent-nhib] One-To-Many against Enum

2009-08-24 Thread Corey Coogan
I have a class that has a one-to-many relationship with an Enum. It is expressed as a Student can have 0..* allergies, which is represented by an enum (Allergens). My Studen class has a private list of Allergens called _allergies. mapping.HasMany(Reveal.Property("_allergies")) .

[fluent-nhib] Re: Why is PropertyPart hiding useful information?

2009-08-24 Thread Hudson Akridge
The special case names should be easy to obtain from the interface exposed to you during the apply during a convention. Those are easy to derive from the property name, and the property name is exposed to you during convention handling. Again, give using conventions a try, I think it'll work just f

[fluent-nhib] Re: Problems with inheritance mapping

2009-08-24 Thread Paul Batum
Niklas, I can't see anything wrong with the xml so I suspect your problem must be to do with how you are adding/saving the entities. Can you show me the relevant code? On Fri, Aug 21, 2009 at 11:41 PM, Niklas Wendel wrote: > > I have now upgraded and tried with the 1.0 RC and I am still seeing >

[fluent-nhib] Re: format_sql config option

2009-08-24 Thread James Gregory
Great, thanks lee. I'll get this merged as soon as I can. On Mon, Aug 24, 2009 at 1:51 PM, Lee Henson wrote: > > Hi list > > I've added support for nh's format_sql option: > > > http://github.com/leemhenson/fluent-nhibernate/commit/2f9533f564bb81ece82824833c844a44970c6478 > > So, in the same way

[fluent-nhib] format_sql config option

2009-08-24 Thread Lee Henson
Hi list I've added support for nh's format_sql option: http://github.com/leemhenson/fluent-nhibernate/commit/2f9533f564bb81ece82824833c844a44970c6478 So, in the same way as ShowSql(), you can also do FormatSql(). James, I sent you a pull request last week with this in. I just realised I had sc

[fluent-nhib] Re: Seems like a bug: wrong comparer type when sorting

2009-08-24 Thread James Gregory
Hmm. NHibernate docs say to use IComparer, and I can't reproduce the issue you're having. On Wed, Aug 19, 2009 at 8:39 AM, James Gregory wrote: > Ah, that probably explains why somebody else just raised a bug where it was > complaining that the comparer needs to implement IComparer not > ICompare

[fluent-nhib] Re: Making it easier to exclude base classes from mapping

2009-08-24 Thread James Gregory
Latest binaries now have IgnoreBase, and ForTypesThatDeriveFrom is now Override in keeping with the overrides concept . On Wed, Aug 19, 2009 at 8:47 AM, James Gregory wrote: > I agree. IgnoreBase is good for me. > Unless I hear some objecti

[fluent-nhib] Re: Trouble with SubclassMap in RC 1

2009-08-24 Thread James Gregory
Just committed a fix for this. You should just be able to update to the latest binaries from the site. On Thu, Aug 20, 2009 at 1:43 PM, Everett Muniz wrote: > :-) thanks James > > > On Thu, Aug 20, 2009 at 8:20 AM, James Gregory wrote: > >> I think we can probably get a change in. Might have to b

[fluent-nhib] Re: FNH RC: Default EnumerationPropertyConvention stops my convention from modifying type

2009-08-24 Thread James Gregory
It's on our list of things to fix. On Mon, Aug 24, 2009 at 7:18 AM, Andre Loker wrote: > > I reported this as an issue as for me it is quite a show stopper. > > http://code.google.com/p/fluent-nhibernate/issues/detail?id=296 > > > > On Aug 21, 4:52 pm, razzielx wrote: > > Hi, > > I have a probl

[fluent-nhib] Re: join not working

2009-08-24 Thread James Gregory
AutoPersistenceModelGenerator is a part of #arch, not FNH. On Mon, Aug 24, 2009 at 8:23 AM, Sachin wrote: > > I did replaced all the Dlls from the given location and soon after my > whold code stopped working, giving me some error > > Method 'Generate' in type > Test.Data.NHibernateMaps.AutoPers

[fluent-nhib] Re: medium trust

2009-08-24 Thread Morten Maxild
Fine:-) As a side note on running NH with FNH in medium trust: To disable the reflection-optimizer (necessary under medium trust) one _has_ to use app config. The fluent config API with its ‘DoNot.UseReflectionOptimizer’ is of no use here:-(. This only happens under medium trust, and the rea

[fluent-nhib] Re: join not working

2009-08-24 Thread Sachin
I did replaced all the Dlls from the given location and soon after my whold code stopped working, giving me some error Method 'Generate' in type Test.Data.NHibernateMaps.AutoPersistenceModelGenerator' from assembly Test.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' does not have an