So far what I've been able to come up with with some chat assistance, in terms of the PrimitiveType themselves up to and including the pg dialect, makes some sense.
However, now about adding to an NH Configuration, I do not see a way of doing that, could someone please educate me as to how that is done.
The following code was chat generated, but I do not think it is correct. Is presumes existing of some
TypeDefinitions meta data, but that does not exist, if it ever did. Additionally the TypeMapping is an internal construct, which again, given that, does not make a lot of sense except perhaps to keep the args straight.
private static void RegisterTypeMapping(this Configuration configuration, TypeMapping mapping)
{
var typeRegistry = configuration.TypeDefinitions;
typeRegistry[mapping.Type] = mapping;
}
Assuming it was ever a dictionary, why would it except a generic or user specific weakly typed object.
Confused how to connect the dots with NH at an internal level.
Best, thanks!