Hi Does anybody know why NHibernate.Driver.DriverBase.ToParameterName is a static method? Would there by any problem with making it virtual so it can be overridden?
I'm wondering this because of a question on StackOverflow with the title possible-to-change-format-of-nhibernate-formulates-bind-variables<http://stackoverflow.com/questions/15519554/possible-to-change-format-of-nhibernate-formulates-bind-variables>. The person who created this question is trying to create a dialect for SQLBase<http://www.guptatechnologies.com/Products/Data_Management/SQLBase/default.aspx>which requires its parameters to be a number, which is not possible with the current implementation of ToParameterName. Looking through DriverBase I couldn't see how it would be possible to make the necessary changes in a child class the would allow for the parameters to be a number. The only alternative I could see to overriding this method is to not inherit from DriverBase but make a copy of it for the new driver. What do you think of this suggested change? Thanks for reading Mike -- --- You received this message because you are subscribed to the Google Groups "nhibernate-development" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
