c# - Sql custom function with Chili's opf3 -


I have to call the pre-made function on the SQL such as

  SET @ ExtVALUE =  

But I do not find that OPF3 already has some functionality.

Need to use OPF3,

  var functionQuery = "sysdba. GETNextAccountExternalId ('{0}') As a result,"; ObjContext.GetObjectReader & lt; & Gt; ();  

Which class to me & lt;> ???

just for record,

  var function = String.form ("SELECT sysdba.GetNextAccountExternalExternalId ('{0}')", account type.); Var function Result = (String) Create new SqlRawStorageAccess (reference. SqlStorageBase as archive) CreateCommand (New SqlQuery (functionQuery)) ExecuteScalar ();  

Works.


Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -