Search found 5 matches
- Thu 28 Jul 2011 14:19
- Forum: dotConnect for Oracle
- Topic: WF4 InstanceStore for Oracle
- Replies: 16
- Views: 6689
- Tue 05 Apr 2011 07:51
- Forum: dotConnect for Oracle
- Topic: Exec StoreProcedure with OUT parameter in a class library
- Replies: 2
- Views: 978
- Mon 04 Apr 2011 13:43
- Forum: dotConnect for Oracle
- Topic: Exec StoreProcedure with OUT parameter in a class library
- Replies: 2
- Views: 978
Exec StoreProcedure with OUT parameter in a class library
Hi,
I'm developing a Worflow in Workflow Foundation 4, and I'm having trouble with a store procedure.
I have a solution with 2 projects( Workflow, Activities).
In the Activities I have a package created via Oracle Package Wizard. When I call the package the return value is always "" (empty), I debug the package and the value is empty/null {}
but when I create a blank console project the package returns the expected result.
Is there any modification to be made to the package or code to call it inside a Workflow project?
Need more information?
Thanks,
BeFFes
I'm developing a Worflow in Workflow Foundation 4, and I'm having trouble with a store procedure.
I have a solution with 2 projects( Workflow, Activities).
In the Activities I have a package created via Oracle Package Wizard. When I call the package the return value is always "" (empty), I debug the package and the value is empty/null {}
Code: Select all
OracleConnection oConn = new OracleConnection("Data Source=db; User=user1; Password=user1");
string result = "";
oConn.Open();
Pkcreateprocess createProcess = new PieapiPkcreateprocess();
createProcess.Connection = oConn;
createProcess.Createprocess("12345", out result);
Is there any modification to be made to the package or code to call it inside a Workflow project?
Need more information?
Thanks,
BeFFes
- Wed 02 Feb 2011 11:02
- Forum: LinqConnect (LINQ to SQL support)
- Topic: How to call proc in package with OUT param cursor?
- Replies: 4
- Views: 2550
Hi have the same problem (latest version installed )...
is returning a INT32 instead of a Cursor
Code: Select all
DataContext.Designer.cs
///
/// There are no comments for Getfornecedores in the schema.
///
[Function(Name=@"TEST.PK_TEST.GETFORNECEDORES")]
public System.Int32 Getfornecedores([Parameter(Name="ID_TIPO", DbType="VARCHAR2")] string IdTipo, [Parameter(Name="PAIS", DbType="VARCHAR2")] string Pais, [Parameter(Name="LOCALIDADE", DbType="NUMBER")] System.Nullable Localidade)
{
IExecuteResult _GetfornecedoresResult = this.ExecuteMethodCall(this, ((MethodInfo)(MethodInfo.GetCurrentMethod())), IdTipo, Pais, Localidade);
return ((System.Int32)(_GetfornecedoresResult.ReturnValue));
}
Code: Select all
(here is a part of the package)
...
TYPE csGetResultSet is REF CURSOR;
...
PROCEDURE GetFornecedores( id_tipo VARCHAR2, pais VARCHAR2, localidade NUMBER, resultado OUT csGetResultSet)
- Mon 31 Jan 2011 09:42
- Forum: dotConnect for Oracle
- Topic: WF4 InstanceStore for Oracle
- Replies: 16
- Views: 6689