예제 #1
0
 internal MappedCompositeHandler(INpgsqlNameTranslator nameTranslator, PostgresType pgType, NpgsqlConnection conn)
 {
     PostgresType    = pgType;
     _nameTranslator = nameTranslator;
     _conn           = conn;
     _wrappedHandler = (UnmappedCompositeHandler) new UnmappedCompositeTypeHandlerFactory(_nameTranslator).Create(PostgresType, _conn);
 }
예제 #2
0
 void WrapHandler()
 {
     _wrappedHandler = (UnmappedCompositeHandler) new UnmappedCompositeTypeHandlerFactory(_nameTranslator).Create(PostgresType, _conn);
 }