[fluent-nhib] Re: Warnings in AutoMap

2008-09-13 Thread Andrew Stewart
Hi Chad I very much doubt these are anything to worry about as I'm currently running with AutoMap in a production environment with no hassle. However as we all know warnings=BAD. So I'll look into it for you, I never spotted them or they wouldn't be there ;o) woops. Cheers Andy Note: I'm curren

[fluent-nhib] Re: Orphaned files?

2008-09-13 Thread Andrew Stewart
Hi Yeah delete them, I don't have visualsvn installed at home, so it's probably slipped the net that way. My Aplogies. Andy On Sat, Sep 13, 2008 at 4:55 PM, Chad Myers <[EMAIL PROTECTED]> wrote: > I found two files on the file system (in SVN), but not in the VS project: > > > > - FNH

[fluent-nhib] Re: Fluent ConfigurationString

2008-09-13 Thread Stefan Lieser
Hi Chad, thats a good idea! I would prefer this over the lambda syntax you posted before. And we could have both: fluent api and initializer syntax. ConnectionString.Is( ConnectionString .Server(“foo”) .Database(”bar”)) vs. ConnectionString.Is( new ConnectionString

[fluent-nhib] Warnings in AutoMap

2008-09-13 Thread Chad Myers
There are 3 warnings popping up around the AutoMap stuff. I don't feel comfortable fixing them since I'm not familiar with that area of the code. Are these something to be concerned about? Thanks! Chad --~--~-~--~~~---~--~~ You received this message becau

[fluent-nhib] Re: Fluent ConfigurationString

2008-09-13 Thread Dru Sellers
Exactly. Its just in the FL project On Sat, Sep 13, 2008 at 10:48 AM, Chad Myers <[EMAIL PROTECTED]> wrote: > Hrm. What if we had a separate connection string builder that might have > wider applicability (outside of Fluent NHib). > > > > Fluent NHib could use it, as could any one else. > > > >

[fluent-nhib] Re: Fluent ConfigurationString

2008-09-13 Thread Chad Myers
FYI, I know a few other people have patches ready and are waiting. This wasn't to snub them. I'm familiar with this area of code, so this patch was easy for me. Hopefully I'll have some time in the next few to go through some of the patches. -c -Original Message- From: fluent-nhibernat

[fluent-nhib] Re: Fluent ConfigurationString

2008-09-13 Thread Dru Sellers
I will pull down in a moment and get postgresql rocking On Sat, Sep 13, 2008 at 10:59 AM, Chad Myers <[EMAIL PROTECTED]> wrote: > > Nice patch! I like the way the code looks. Committed, rev 87. > > -c > > -Original Message- > From: fluent-nhibernate@googlegroups.com > [mailto:[EMAIL PROT

[fluent-nhib] Re: Fluent ConfigurationString

2008-09-13 Thread Chad Myers
Nice patch! I like the way the code looks. Committed, rev 87. -c -Original Message- From: fluent-nhibernate@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Stefan Lieser Sent: Saturday, September 13, 2008 10:37 AM To: fluent-nhibernate@googlegroups.com Subject: [fluent-nhib] Re:

[fluent-nhib] Orphaned files?

2008-09-13 Thread Chad Myers
I found two files on the file system (in SVN), but not in the VS project: - FNHIB.Mapping.IAutoMapper - FNHIB.Testing.DomainModel.Mapping.AutoMapXmlCreationTester Should these be deleted or what? -c --~--~-~--~~~---~--~~ You received

[fluent-nhib] Re: Fluent ConfigurationString

2008-09-13 Thread Chad Myers
Hrm. What if we had a separate connection string builder that might have wider applicability (outside of Fluent NHib). Fluent NHib could use it, as could any one else. ConnectionString.Is( new ConnectionString{ Server = "foo", Database="bar", etc, etc} ); Of course, the ConnectionString

[fluent-nhib] Re: Fluent ConfigurationString

2008-09-13 Thread Stefan Lieser
> System.Data.SqlClient.SqlConnectionStringBuilder b = new > SqlConnectionStringBuilder(); > > but its not fluent is it? :( I use that internally. > Then hells yeah, that would be awesome. I am constantly going to > connectionstrings.com > > You do the first on

[fluent-nhib] Re: Fluent ConfigurationString

2008-09-13 Thread Dru Sellers
Q1. Do we like the idea of a connection string builder?A1. Yes Q2. Does it have to hang off of the NHConfig object? A2. No Q3. What's wrong with your lambda? A3. ?? -d On Sat, Sep 13, 2008 at 10:22 AM, Chad Myers <[EMAIL PROTECTED]> wrote: > The problem is, you have a sub-FI for the connec

[fluent-nhib] Re: Fluent ConfigurationString

2008-09-13 Thread Chad Myers
The problem is, you have a sub-FI for the connection string and you're "on that path" so there is no 'ToProperties' on the 'ConnectionStringExpression' (or whatever it'll be called) Unless we put it there, but then that will end the ENTIRE config path. What if you want to add other config prope

[fluent-nhib] Re: Fluent ConfigurationString

2008-09-13 Thread Dru Sellers
The 'create' could be called internally when the .ToProperties is called. -d On Sat, Sep 13, 2008 at 10:17 AM, Chad Myers <[EMAIL PROTECTED]> wrote: > > Yeah, cool stuff! > > I'm not super crazy about the 'Create' though. For some reason, > dead-end paths smell to me. I'm not sure why, because i

[fluent-nhib] Re: Fluent ConfigurationString

2008-09-13 Thread Chad Myers
Yeah, cool stuff! I'm not super crazy about the 'Create' though. For some reason, dead-end paths smell to me. I'm not sure why, because it's not that bad. How 'bout .ConnectionString.Is(c=>c .Server("db-srv") .Database("tables") .Username("scott") .Password("ti

[fluent-nhib] Re: Fluent ConfigurationString

2008-09-13 Thread Dru Sellers
You know, I would really like that but doesn't .net have that ? System.Data.SqlClient.SqlConnectionStringBuilder b = new SqlConnectionStringBuilder(); but its not fluent is it? :( Then hells yeah, that would be awesome. I am constantly going to connectionstrings.com You do the first on and I wil

[fluent-nhib] Holiday, again!

2008-09-13 Thread James Gregory
Hey guys, Not that I've been particularly useful over the past few weeks, but I'm going to be away next week. I'll try to be more useful when I get back. James --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Fluent

[fluent-nhib] Fluent ConfigurationString

2008-09-13 Thread Stefan Lieser
Hi, what do you think about a fluent way to build connection strings? MsSqlConfiguration.MsSql2005 .ConnectionString .Server("db-srv") .Database("tables") .Username("toni tester") .Password("secret") .Create .ToProperties(); I've started to