LinqConnect using procedure

Discussion of open issues, suggestions and bugs regarding LinqConnect – Devart's LINQ to SQL compatible ORM
Post Reply
ratm
Posts: 12
Joined: Thu 14 Feb 2019 11:36

LinqConnect using procedure

Post by ratm » Thu 18 Apr 2019 09:01

string matricola = "";
string cdc = "";
string IdPaziente = "";
string visit = "";

ctx.Verificatoken("111", ref matricola, ref cdc, ref IdPaziente, ref visit);

Verificatoken is a procedure with output parameters

but when call this return error
[PgSqlException (0x80004005): icacode.verificatoken(unknown, unknown, unknown, unknown, unknown) è una procedura]
Devart.Data.PostgreSql.e.f(r A_0) +217
Devart.Data.PostgreSql.r.n() +138
Devart.Data.PostgreSql.PgSqlCommand.InternalPrepare(Boolean implicitPrepare, Int32 startRecord, Int32 maxRecords) +1107
Devart.Common.DbCommandBase.ExecuteDbDataReader(CommandBehavior behavior, Boolean nonQuery) +911
Devart.Common.DbCommandBase.ExecuteNonQuery() +31
Devart.Data.Linq.DataProvider.a(av A_0, Object[] A_1) +2686

[LinqCommandExecutionException: Error on executing DbCommand.]
Devart.Data.Linq.LinqCommandExecutionException.CanThrowLinqCommandExecutionException(String message, Exception e) +75
Devart.Data.Linq.DataProvider.a(av A_0, Object[] A_1) +5037
ICACODE.Core.DBDataContext.Verificatoken(String in_id_token, String& n_matricola_operatore, String& n_cod_centro_costo, String& n_id_paz, String& n_visit_number) +322
ICACODE.Web.Login.Page_Load(Object sender, EventArgs e) in C:\Users\Matteo\Documents\Visual Studio 2017\Projects\Crediti08\IcaCode_TEST\ICACODE\ICACODE.Web\Login.aspx.cs:41
System.Web.UI.Control.OnLoad(EventArgs e) +106
System.Web.UI.Control.LoadRecursive() +68
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3785

ratm
Posts: 12
Joined: Thu 14 Feb 2019 11:36

Re: LinqConnect using procedure

Post by ratm » Thu 18 Apr 2019 14:37

I'm using LinqConnect and lqml model in entity developer.
Can help me?

Shalex
Site Admin
Posts: 8743
Joined: Thu 14 Aug 2008 12:44

Re: LinqConnect using procedure

Post by Shalex » Wed 24 Apr 2019 12:26


Post Reply