I've committed a fix so you should be able to do:
Id(x => x.Id)
  .GeneratedBy.Custom<IdentityGenerator>();

and there's an override where you can add parameters.

On Thu, Aug 20, 2009 at 9:22 AM, James Gregory <[email protected]>wrote:

> When was the last time you updated prior to this? I'm pretty sure that
> hasn't been available for a long time.
>
> If what I'm assuming you're doing is correct, specifying a custom generator
> implementation, it doesn't look like we have support for that. Bug.
>
>
> On Thu, Aug 20, 2009 at 9:11 AM, Jon Cahill <[email protected]> wrote:
>
>>
>> Hi,
>>
>> I was previously using the SetGeneratorClass as such:
>>
>> Id(b => b.Id, "ID").SetGeneratorClass("DataAccess.IdentityGenerator,
>> DataAccess")
>>                            .AddGeneratorParam("column", "BTID");
>>
>> and it no longer exists in the RC, is there a different way of doing
>> this now?
>>
>> Cheers,
>>
>> Jon
>>
>> >>
>>
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to