2
我在甲骨文初學者,我寫了這個對象在甲骨文:如何使用對象參數調用Oracle存儲過程以在c#中輸入?
create or replace
TYPE behzadtype AS OBJECT
(/* TODO enter attribute and method declarations here */
SESSIONID Number,
myID Number
)
與此存儲過程:
create or replace
PROCEDURE PROCEDURE2(temp in behzadtype) AS
BEGIN
insert into beh values(temp.myID,'behiheib');
END PROCEDURE2;
我的問題:我如何可以調用從C#這個存儲過程?謝謝。
嗨阿里,寫什麼寫入parameter_name?object name? –
嗨貝扎德。寫這樣的:'cmd.Parameters.Add(「temp」,「behzadtype」)。Value = value' –