I got this to work by not specifying any generator. i.e.:
Id(x => x.Id).ColumnName("No_");
David Woods wrote:
> I am mapping against a legacy database that's primary key is strings not
> integers. Is there a way to use a string for the Id() mapping? (We can't
&
I am mapping against a legacy database that's primary key is strings not
integers. Is there a way to use a string for the Id() mapping? (We can't
add an artificial key to the database either).
--~--~-~--~~~---~--~~
You received this message because you are subscr
I don't see any place that you have specified the connection string
information in that mapping
My MsSql2005 config looks like this (excuse the VB)
Fluently.Configure(). _
Database(MsSqlConfiguration.MsSql2005.ConnectionString(Function(x
Lol. The project we are on is written in VB but thought I would
translate it on the fly as most people on the list are C#'s :)
Paul Batum wrote:
> Dave I think you deserve some sort of award. I think your code sample
> must be the first we've recieved that uses C# and VB interchangably :P
>
> On
gt; kind of behavior yet. Sorry.
>
> On Wed, Mar 11, 2009 at 2:50 PM, David Woods <mailto:d...@solidhouse.com>> wrote:
>
> I got the IUserType stuff to work using a Map() and CustomTypeIs<>
> but I don't see a CustomTypeIs<> method on a HasMany(). Am I g
I got the IUserType stuff to work using a Map() and CustomTypeIs<> but I
don't see a CustomTypeIs<> method on a HasMany(). Am I going about this
the wrong way maybe?
I have worked around it using an intermediary object which works but is
a bit clunky :)
James Gregory wrote:
> You need an NHibe