0

我知道如何从 c# 调用 oracle 存储过程
现在我想调用一个对象类型的成员过程

例如

create type address as object (
   line1 varchar2(50),
   city varchar2(50),
   member procedure insert_address(line1 varchar2, city varchar2)
)
/

create table address_table of address;

create type body address as
   member procedure insert_address(line1 varchar2, city varchar2) is
   begin
       insert into address_table values (line1, city);
       commit;
   end insert_address;
end;
/

现在,我想调用过程 insert_address [不是存储过程!] 我该怎么做?

4

0 回答 0