Exemple #1
0
 internal MappedEnumHandler(PostgresType pgType, INpgsqlNameTranslator nameTranslator, NpgsqlConnection conn)
     : base(pgType)
 {
     _nameTranslator = nameTranslator;
     _conn           = conn;
     _wrappedHandler = (UnmappedEnumHandler) new UnmappedEnumTypeHandlerFactory(_nameTranslator).Create(PostgresType, _conn);
 }
Exemple #2
0
 void WrapHandler()
 {
     _wrappedHandler = (UnmappedEnumHandler) new UnmappedEnumTypeHandlerFactory(_nameTranslator).Create(PostgresType, _conn);
 }