Implement Overloads for Id Generators in Mapping By Code

Description

Similarly to what was done for NH-3759, it might be useful to implement method overloads in the Generators class for the various parameters of each id generator.
For example, for the HiLo, we would have:

The problem is, if we would use the name HighLow (for example) for a method, it would break existing code, which expects HighLow to be a property.

Environment

None

is related to

Activity

Show:

Ricardo Peres February 24, 2015 at 8:00 AM

Yes, that's my idea. We just have to decide on the naming (HighLow vs HighLowWithParams or something like that).

Alex Zaytsev February 24, 2015 at 3:03 AM

Can we update this issue to update all generators added in NH-3404?

Ricardo Peres February 24, 2015 at 2:56 AM

In order to avoid breaking changes, we can have instead, for example, HighLowWithParams(object @params).

Details

Assignee

Reporter

Labels

Components

Affects versions

Priority

Who's Looking?

Open Who's Looking?

Created February 23, 2015 at 3:02 PM
Updated February 24, 2015 at 8:00 AM
Who's Looking?