As far as I'm aware, no reason that you wouldn't be able to do that (aside
from the fact that the parameterless call doesn't exist).
For now, it's probably best to create an issue for that rather than a patch.
A bunch of stuff is changing behind the scenes that hasn't been merged into
trunk yet. Although if you're properly motivated, you can check out the
github source, and look at Jame's "Model" branch, that's where you'd want to
submit a patch if you were interested :)

On Tue, Jun 16, 2009 at 8:51 AM, Morten Maxild <[email protected]> wrote:

>  Hi,
>
>
>
> I am running R530 off the svn mirror.
>
>
>
> When fluently mapping the POID generator strategy to be HiLo, why is the
> max_lo value a mandatory argument, and why is it a string?
>
>
>
> Are there any reason not to make it possible to run with the NH default
> value for max_lo?
>
>
>
> Possible:
>
> =======
>
>
>
> Id(blog => blog.Id).GeneratedBy.HiLo("100");
>
>
>
> <id name=”Id” type="int">
>
> <generator class="hilo">
>
> <param name="max_lo">100</param>
>
> </generator>
>
> </id>
>
>
>
> Not possible
>
> =========
>
>
>
> Id(blog => blog.Id).GeneratedBy.HiLo();
>
>
>
> <id name=”Id” type="int">
>
> <generator class="hilo"/>
>
> </id>
>
>
>
> Always happy to provide a patch.
>
>
>
> Regards
>
> Maxild
>
>
>
>
>
> >
>


-- 
- Hudson
http://www.bestguesstheory.com
http://twitter.com/HudsonAkridge

--~--~---------~--~----~------------~-------~--~----~
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