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
Post a Comment