theSq3Lite 10.0
Loading...
Searching...
No Matches
Sq3StmtC_cs.cs
Go to the documentation of this file.
1
9/* LABEL-INIT */
10
11using csmkkernel;
12
13/* LABEL-START */
14
15using System;
16using System.Reflection;
17using System.Runtime.InteropServices;
18using System.Runtime.CompilerServices;
19using System.Collections.Generic;
20using System.Threading;
21
22namespace cssq3lite {
23
27#if META_IS_OBJECT
28 public partial class Sq3StmtC
29#else
30 public partial class Sq3StmtC : MkObjectC
31#endif
32 {
33 private readonly static ConstructorInfo ctor = getCtor(typeof(Sq3StmtC));
34 private readonly static ThreadLocal<Sq3StmtC> MK_NULL = new ThreadLocal<Sq3StmtC>(() => {
35 return (Sq3StmtC) atomSelfNull(ctor);
36 });
37
38 public static Sq3StmtC Sq3StmtC_ObjNew (IntPtr hdl) {
39 return hdl != IntPtr.Zero ? (Sq3StmtC) atomObjNew(typeof(Sq3StmtC), ctor, hdl) : MK_NULL.Value;
40 }
41
42 private static Sq3StmtC Sq3StmtC_ObjCreate (IntPtr hdl) {
43 return hdl != IntPtr.Zero ? (Sq3StmtC) atomObjCreate(typeof(Sq3StmtC), ctor, hdl) : MK_NULL.Value;
44 }
45
46 private static IntPtr Sq3StmtC_SelfCreate (IntPtr mkrt, IntPtr obj, IntPtr env) {
47 return atomSelfCreate(ctor, obj, env);
48 }
49
50 private static void Sq3StmtC_SelfUnlink (IntPtr mkrt, IntPtr self, IntPtr env) {
51 atomSelfUnlink(self, env);
52 }
53
54 internal static void SetupThreadSTMT (IntPtr mkrt) {
55 Sq3.Sq3CsTypeUpdate(mkrt, Sq3CsTypeLookupE.STMT, Sq3StmtC_SelfCreate, Sq3StmtC_SelfUnlink);
56 }
57
58 #if !META_STATIC_OVERWRITE
59
60 static Sq3StmtC() {
61 // M0("Sq3StmtC");
62 Sq3Lite.Setup();
63 SetupThreadSTMT(IntPtr.Zero);
64 }
65
66 #endif
67/* LABEL-END */
68
69 internal Sq3StmtC (IntPtr objP) : base(objP) {
70 }
71
72 } // END - class "Sq3StmtC"
73
74 // BEGIN-Sq3StmtC - created by 'cs_MqC.tcl -i NHI1_HOME/theSq3Lite/c/gen/c_sq3lite.meta' - DO NOT change
75
76 public partial class Sq3StmtC {
77
81
82 // doc-key: Sq3StmtC,Sq3StmtC-Bind,om_
83
85 public void BindBlob (int pos, byte[] blob) {
86 var blob_size = Marshal.SizeOf(blob[0]) * blob.Length;
87 var blob_data = Marshal.AllocHGlobal(blob_size);
88 Marshal.Copy(blob,0,blob_data,blob_size);
89 Mk.MkBinaryR blob_ref = Mk.MkBinaryCreate(blob_size,blob_data);
90 MkErrorE errVal = Sq3.Sq3StmtBindBlob(mkrt, hdl, pos, blob_ref);
91 MkErrorC.Check(hdl, errVal);
92 }
93
95 public void BindDouble (int arg1, double arg2) {
96 MkErrorE errVal = Sq3.Sq3StmtBindDouble(hdl, arg1, arg2);
97 MkErrorC.Check(hdl, errVal);
98 }
99
101 public void BindInt (int arg1, int arg2) {
102 MkErrorE errVal = Sq3.Sq3StmtBindInt(hdl, arg1, arg2);
103 MkErrorC.Check(hdl, errVal);
104 }
105
107 public void BindInt64 (int arg1, long arg2) {
108 MkErrorE errVal = Sq3.Sq3StmtBindInt64(hdl, arg1, arg2);
109 MkErrorC.Check(hdl, errVal);
110 }
111
113 public void BindNull (int arg1) {
114 MkErrorE errVal = Sq3.Sq3StmtBindNull(hdl, arg1);
115 MkErrorC.Check(hdl, errVal);
116 }
117
119 public void BindParameterCount () {
120 MkErrorE errVal = Sq3.Sq3StmtBindParameterCount(hdl);
121 MkErrorC.Check(hdl, errVal);
122 }
123
125 public void BindParameterIndex (string zName) {
126 IntPtr zName_cstr = Marshal.StringToHGlobalAnsi(zName);
127 MkErrorE errVal = Sq3.Sq3StmtBindParameterIndex(hdl, zName_cstr);
128 Marshal.FreeHGlobal(zName_cstr);
129 MkErrorC.Check(hdl, errVal);
130 }
131
133 public string BindParameterName (int arg1) {
134 IntPtr __retVal__L = Sq3.Sq3StmtBindParameterName(hdl, arg1);
135 return Marshal.PtrToStringAnsi(__retVal__L);
136 }
137
139 public void BindText (int pos, string text) {
140 IntPtr text_ref_cstr = Marshal.StringToHGlobalAnsi(text);
141 Mk.MkStringR text_ref = Mk.MkStringCreate_1(text_ref_cstr);
142 MkErrorE errVal = Sq3.Sq3StmtBindText(mkrt, hdl, pos, text_ref);
143 Marshal.FreeHGlobal(text_ref_cstr);
144 MkErrorC.Check(hdl, errVal);
145 }
146
148 public void BindValue (int arg1, Sq3ValueC arg2) {
149 IntPtr arg2_hdl = Sq3ValueC.getOBJ("Sq3ValueC",arg2);
150 MkErrorE errVal = Sq3.Sq3StmtBindValue(hdl, arg1, arg2_hdl);
151 MkErrorC.Check(hdl, errVal);
152 }
153
155 public void BindZeroblob (int arg1, int n) {
156 MkErrorE errVal = Sq3.Sq3StmtBindZeroblob(hdl, arg1, n);
157 MkErrorC.Check(hdl, errVal);
158 }
159
161 public void BindZeroblob64 (int arg1, long arg2) {
162 MkErrorE errVal = Sq3.Sq3StmtBindZeroblob64(hdl, arg1, arg2);
163 MkErrorC.Check(hdl, errVal);
164 }
165
167 // Sq3StmtC_Bind_CS_API
168 }
169
170 public partial class Sq3StmtC {
171
175
176 // doc-key: Sq3StmtC,Sq3StmtC-Class-Export,sc_
177
179 new public static Sq3StmtC HandleResolve (Int32 netHdl) {
180 IntPtr __retVal__L = Sq3.Sq3StmtHandleResolve(IntPtr.Zero, netHdl);
181 return Sq3StmtC.Sq3StmtC_ObjNew(__retVal__L);
182 }
183
184 // doc-key: Sq3StmtC,Sq3StmtC-Class-Export,om_
185
186 // skip class-overload: HandleGet = Sq3StmtHandleGet → MkObjectHandleGet
187
189 // Sq3StmtC_Class_CS_API
190 }
191
192 public partial class Sq3StmtC {
193
197
198 // doc-key: Sq3StmtC,Sq3StmtC-Class-Introspection,oc_
199
201 new public Sq3StmtC Next () {
202 IntPtr __retVal__L = Sq3.Sq3StmtNext(hdl);
203 return Sq3StmtC.Sq3StmtC_ObjNew(__retVal__L);
204 }
205
207 new public Sq3StmtC Prev () {
208 IntPtr __retVal__L = Sq3.Sq3StmtPrev(hdl);
209 return Sq3StmtC.Sq3StmtC_ObjNew(__retVal__L);
210 }
211
212 // doc-key: Sq3StmtC,Sq3StmtC-Class-Introspection,sc_
213
215 new public static Sq3StmtC Instances () {
216 IntPtr __retVal__L = Sq3.Sq3StmtInstances(IntPtr.Zero);
217 return Sq3StmtC.Sq3StmtC_ObjNew(__retVal__L);
218 }
219
221 // Sq3StmtC_Class_CS_API
222 }
223
224 public partial class Sq3StmtC {
225
229
230 // doc-key: Sq3StmtC,Sq3StmtC-Class-Misc,sc_
231
233 new public static Sq3StmtC GetNull () {
234 IntPtr __retVal__L = Sq3.Sq3StmtGetNull();
235 return Sq3StmtC.Sq3StmtC_ObjNew(__retVal__L);
236 }
237
239 // Sq3StmtC_Class_CS_API
240 }
241
242 public partial class Sq3StmtC {
243
247
248 // doc-key: Sq3StmtC,Sq3StmtC-Column,oc_
249
251 public Sq3ValueC ColumnValue (int iCol) {
252 IntPtr __retVal__L = Sq3.Sq3StmtColumnValue(hdl, iCol);
253 return Sq3ValueC.Sq3ValueC_ObjNew(__retVal__L);
254 }
255
256 // doc-key: Sq3StmtC,Sq3StmtC-Column,om_
257
259 public byte[] ColumnBlob (int iCol) {
260 Mk.MkBinaryR __retVal__L = Sq3.Sq3StmtColumnBlob(hdl, iCol);
261 int __retVal__L_size = (int) __retVal__L.size;
262 byte[] ____retVal__L__S = new byte[__retVal__L_size];
263 Marshal.Copy(__retVal__L.data,____retVal__L__S,0,(int)__retVal__L_size);
264 return ____retVal__L__S;
265 }
266
268 public int ColumnBytes (int iCol) {
269 Int32 __retVal__L = Sq3.Sq3StmtColumnBytes(hdl, iCol);
270 return __retVal__L;
271 }
272
274 public int ColumnCount () {
275 Int32 __retVal__L = Sq3.Sq3StmtColumnCount(hdl);
276 return __retVal__L;
277 }
278
280 public double ColumnDouble (int iCol) {
281 Double __retVal__L = Sq3.Sq3StmtColumnDouble(hdl, iCol);
282 return __retVal__L;
283 }
284
286 public int ColumnInt (int iCol) {
287 Int32 __retVal__L = Sq3.Sq3StmtColumnInt(hdl, iCol);
288 return __retVal__L;
289 }
290
292 public long ColumnInt64 (int iCol) {
293 Int64 __retVal__L = Sq3.Sq3StmtColumnInt64(hdl, iCol);
294 return __retVal__L;
295 }
296
298 public string ColumnName (int N) {
299 IntPtr __retVal__L = Sq3.Sq3StmtColumnName(hdl, N);
300 return Marshal.PtrToStringAnsi(__retVal__L);
301 }
302
304 public string ColumnText (int iCol) {
305 Mk.MkStringR __retVal__L = Sq3.Sq3StmtColumnText(hdl, iCol);
306 return Marshal.PtrToStringAnsi(__retVal__L.ptr,(int)__retVal__L.len);
307 }
308
310 public Sq3TypeE ColumnType (int iCol) {
311 Sq3TypeE __retVal__L = Sq3.Sq3StmtColumnType(hdl, iCol);
312 return __retVal__L;
313 }
314
316 // Sq3StmtC_Column_CS_API
317 }
318
319 public partial class Sq3StmtC {
320
324
325 // doc-key: Sq3StmtC,Sq3StmtC-Info,oc_
326
328 public Sq3LiteC DbHandle () {
329 IntPtr __retVal__L = Sq3.Sq3StmtDbHandle(hdl);
330 return Sq3LiteC.Sq3LiteC_ObjNew(__retVal__L);
331 }
332
333 // doc-key: Sq3StmtC,Sq3StmtC-Info,om_
334
336 public void Busy () {
337 MkErrorE errVal = Sq3.Sq3StmtBusy(hdl);
338 MkErrorC.Check(hdl, errVal);
339 }
340
342 public void DataCount () {
343 MkErrorE errVal = Sq3.Sq3StmtDataCount(hdl);
344 MkErrorC.Check(hdl, errVal);
345 }
346
348 public void IsExplain () {
349 MkErrorE errVal = Sq3.Sq3StmtIsExplain(hdl);
350 MkErrorC.Check(hdl, errVal);
351 }
352
353 // skip class-overload: Log = Sq3StmtLog → MkObjectLog
354
356 public void Readonly () {
357 MkErrorE errVal = Sq3.Sq3StmtReadonly(hdl);
358 MkErrorC.Check(hdl, errVal);
359 }
360
362 public void Status (Sq3StmtStatusE op, bool resetFlg) {
363 MkErrorE errVal = Sq3.Sq3StmtStatus(hdl, op, resetFlg);
364 MkErrorC.Check(hdl, errVal);
365 }
366
368 // Sq3StmtC_Info_CS_API
369 }
370
371 public partial class Sq3StmtC {
372
376
377 // doc-key: Sq3StmtC,Sq3StmtC-Misc,sc_
378
380 public static Sq3StmtC NextStmt (Sq3LiteC pDb, Sq3StmtC pStmt = null) {
381 IntPtr pDb_hdl = Sq3LiteC.getOBJ("Sq3LiteC",pDb);
382 IntPtr pStmt_hdl = Sq3StmtC.getOBJ_null_allow(pStmt);
383 IntPtr __retVal__L = Sq3.Sq3StmtNextStmt(pDb_hdl, pStmt_hdl);
384 return Sq3StmtC.Sq3StmtC_ObjNew(__retVal__L);
385 }
386
387 // doc-key: Sq3StmtC,Sq3StmtC-Misc,om_
388
390 public void ClearBindings () {
391 MkErrorE errVal = Sq3.Sq3StmtClearBindings(hdl);
392 MkErrorC.Check(hdl, errVal);
393 }
394
396 public void Explain (int eMode) {
397 MkErrorE errVal = Sq3.Sq3StmtExplain(hdl, eMode);
398 MkErrorC.Check(hdl, errVal);
399 }
400
402 public void Reset () {
403 MkErrorE errVal = Sq3.Sq3StmtReset(hdl);
404 MkErrorC.Check(hdl, errVal);
405 }
406
407 // doc-key: Sq3StmtC,Sq3StmtC-Misc,omo
408
410 public Sq3ErrorE Step () {
411 Sq3ErrorE retCode;
412 MkErrorE errVal = Sq3.Sq3StmtStep(hdl, out retCode);
413 MkErrorC.Check(hdl, errVal);
414 return retCode;
415 }
416
418 // Sq3StmtC_Misc_CS_API
419 }
420
421 public partial class Sq3StmtC {
422
426
427 // doc-key: Sq3StmtC,Sq3StmtC-Sql,om_
428
430 public string ExpandedSql () {
431 IntPtr __retVal__L = Sq3.Sq3StmtExpandedSql(hdl);
432 return Marshal.PtrToStringAnsi(__retVal__L);
433 }
434
436 public string GetPzTail () {
437 IntPtr __retVal__L = Sq3.Sq3StmtGetPzTail(hdl);
438 return Marshal.PtrToStringAnsi(__retVal__L);
439 }
440
442 public string Sql () {
443 IntPtr __retVal__L = Sq3.Sq3StmtSql(hdl);
444 return Marshal.PtrToStringAnsi(__retVal__L);
445 }
446
448 // Sq3StmtC_Sql_CS_API
449 }
450
451 public partial class Sq3StmtC {
452
456
457 // doc-key: Sq3StmtC,Sq3StmtC-TOR,sCo
458
460 protected static IntPtr CTOR (Sq3LiteC db, string zSql) {
461 IntPtr ppStmt;
462 IntPtr db_hdl = Sq3LiteC.getOBJ("Sq3LiteC",db);
463 IntPtr zSql_ref_cstr = Marshal.StringToHGlobalAnsi(zSql);
464 Mk.MkStringR zSql_ref = Mk.MkStringCreate_1(zSql_ref_cstr);
465 MkErrorE errVal = Sq3.Sq3StmtPrepareV2(db_hdl, zSql_ref, out ppStmt);
466 Marshal.FreeHGlobal(zSql_ref_cstr);
467 if (errVal > MkErrorE.CONTINUE) MkErrorC.Check(errVal);
468 return (IntPtr)ppStmt;
469 }
470
472 public Sq3StmtC(Sq3LiteC db, string zSql) : this(CTOR(db, zSql)) {}
473
475 public static Sq3StmtC PrepareV2 (Sq3LiteC db, string zSql) {
476 IntPtr ppStmt;
477 IntPtr db_hdl = Sq3LiteC.getOBJ("Sq3LiteC",db);
478 IntPtr zSql_ref_cstr = Marshal.StringToHGlobalAnsi(zSql);
479 Mk.MkStringR zSql_ref = Mk.MkStringCreate_1(zSql_ref_cstr);
480 MkErrorE errVal = Sq3.Sq3StmtPrepareV2(db_hdl, zSql_ref, out ppStmt);
481 Marshal.FreeHGlobal(zSql_ref_cstr);
482 if (errVal > MkErrorE.CONTINUE) MkErrorC.Check(errVal);
483 return Sq3StmtC.Sq3StmtC_ObjCreate(ppStmt);
484 }
485
487 public static Sq3StmtC PrepareV3 (Sq3LiteC db, string zSql, Sq3PrepareEF prepFlags = Sq3PrepareEF.NO) {
488 IntPtr ppStmt;
489 IntPtr db_hdl = Sq3LiteC.getOBJ("Sq3LiteC",db);
490 IntPtr zSql_ref_cstr = Marshal.StringToHGlobalAnsi(zSql);
491 Mk.MkStringR zSql_ref = Mk.MkStringCreate_1(zSql_ref_cstr);
492 MkErrorE errVal = Sq3.Sq3StmtPrepareV3(db_hdl, zSql_ref, prepFlags, out ppStmt);
493 Marshal.FreeHGlobal(zSql_ref_cstr);
494 if (errVal > MkErrorE.CONTINUE) MkErrorC.Check(errVal);
495 return Sq3StmtC.Sq3StmtC_ObjCreate(ppStmt);
496 }
497
498 // doc-key: Sq3StmtC,Sq3StmtC-TOR,om_
499
501 public void Sq3Finalize () {
502 MkErrorE errVal = Sq3.Sq3StmtFinalize(hdl);
503 MkErrorC.Check(hdl, errVal);
504 }
505
507 // Sq3StmtC_TOR_CS_API
508 }
509
510 // END-Sq3StmtC - created by 'cs_MqC.tcl -i NHI1_HOME/theSq3Lite/c/gen/c_sq3lite.meta' - DO NOT change
511
512} // END - namespace "cssq3lite"
static void Check(IntPtr ctx, MkErrorE err)
static object atomObjNew(Type type, ConstructorInfo ctor, IntPtr obj)
static IntPtr getOBJ_null_allow(MkObjectC obj)
static object atomObjCreate(Type type, ConstructorInfo ctor, IntPtr obj)
static void atomSelfUnlink(IntPtr self, IntPtr env)
static object atomSelfNull(ConstructorInfo ctor)
static IntPtr getOBJ(string cls, MkObjectC obj)
static ConstructorInfo getCtor(Type type)
static IntPtr atomSelfCreate(ConstructorInfo ctor, IntPtr obj, IntPtr env)
static Mk.MkBinaryR MkBinaryCreate(long size, IntPtr data)
static Mk.MkStringR MkStringCreate_1(IntPtr str)
Sq3LiteC - the class known as sq3lite or Lite defined by Sq3LiteS …
static Sq3LiteC Sq3LiteC_ObjNew(IntPtr hdl)
Sq3StmtC - the class known as sq3stmt or Statement defined by Sq3StmtS …
static Sq3StmtC Sq3StmtC_ObjNew(IntPtr hdl)
Sq3ValueC - the class known as sq3val or Value define by Sq3ValueS …
static Sq3ValueC Sq3ValueC_ObjNew(IntPtr hdl)
#define MK_NULL
MkErrorE
static SQ3_LITE Sq3Lite(MK_MNG mng)
cast a unknown-object into an Sq3LiteS pointer or NULL if not possible
void BindZeroblob64(int arg1, long arg2)
C#: sq3stmt.BindZeroblob64(int arg1, long arg2) → C-API Binding Values To Prepared Statements …
void BindText(int pos, string text)
C#: sq3stmt.BindText(int pos, string text) → C-API Bind a MkStringR Value To a Prepared Stateme...
void BindValue(int arg1, Sq3ValueC arg2)
C#: sq3stmt.BindValue(int arg1, Sq3ValueC arg2) → C-API Binding Values To Prepared Statements …
void BindDouble(int arg1, double arg2)
C#: sq3stmt.BindDouble(int arg1, double arg2) → C-API Binding Values To Prepared Statements …
void BindZeroblob(int arg1, int n)
C#: sq3stmt.BindZeroblob(int arg1, int n) → C-API Binding Values To Prepared Statements …
void BindInt64(int arg1, long arg2)
C#: sq3stmt.BindInt64(int arg1, long arg2) → C-API Binding Values To Prepared Statements …
void BindNull(int arg1)
C#: sq3stmt.BindNull(int arg1) → C-API Binding Values To Prepared Statements …
void BindParameterCount()
C#: sq3stmt.BindParameterCount() → C-API Number Of SQL Parameters …
void BindBlob(int pos, byte[] blob)
C#: sq3stmt.BindBlob(int pos, byte[] blob) → C-API Bind a MkBinaryR Value To a Prepared Stateme...
string BindParameterName(int arg1)
C#: string sq3stmt.BindParameterName(int arg1) → C-API Name Of A Host Parameter …
void BindParameterIndex(string zName)
C#: sq3stmt.BindParameterIndex(string zName) → C-API Index Of A Parameter With A Given Name …
void BindInt(int arg1, int arg2)
C#: sq3stmt.BindInt(int arg1, int arg2) → C-API Binding Values To Prepared Statements …
new Sq3StmtC Prev()
C#: Sq3StmtC stmt.Prev() → C-API get previous instance from linked-list of Sq3StmtS type
new Sq3StmtC Next()
C#: Sq3StmtC stmt.Next() → C-API get next instance from linked-list of Sq3StmtS type
new static Sq3StmtC Instances()
C#: [static] Sq3StmtC Sq3StmtC.Instances() → C-API get head-instance from linked-list of Sq3Stmt...
new static Sq3StmtC GetNull()
C#: [static] Sq3StmtC Sq3StmtC.GetNull() → C-API Null-Slot - return a Sq3StmtC typed NULL instan...
new static Sq3StmtC HandleResolve(Int32 netHdl)
C#: [static] Sq3StmtC Sq3StmtC.HandleResolve(Int32 netHdl) → C-API Handle-Resolve-Slot - return ...
int ColumnCount()
C#: int pStmt.ColumnCount() → C-API Number Of Columns In A Result Set …
double ColumnDouble(int iCol)
C#: double sq3stmt.ColumnDouble(int iCol) → C-API Result Values From A Query …
Sq3TypeE ColumnType(int iCol)
C#: Sq3TypeE sq3stmt.ColumnType(int iCol) → C-API Result Values From A Query …
string ColumnText(int iCol)
C#: string sq3stmt.ColumnText(int iCol) → C-API Result a MkStringR Value From A Query.
long ColumnInt64(int iCol)
C#: long sq3stmt.ColumnInt64(int iCol) → C-API Result Values From A Query …
int ColumnBytes(int iCol)
C#: int sq3stmt.ColumnBytes(int iCol) → C-API Result Values From A Query …
byte[] ColumnBlob(int iCol)
C#: byte[] sq3stmt.ColumnBlob(int iCol) → C-API Result a MkBinaryR Value From A Query.
string ColumnName(int N)
C#: string sq3stmt.ColumnName(int N) → C-API Column Names In A Result Set …
Sq3ValueC ColumnValue(int iCol)
C#: Sq3ValueC sq3stmt.ColumnValue(int iCol) → C-API Result Values From A Query …
int ColumnInt(int iCol)
C#: int sq3stmt.ColumnInt(int iCol) → C-API Result Values From A Query …
void Busy()
C#: sq3stmt.Busy() → C-API Determine If A Prepared Statement Has Been Reset …
void DataCount()
C#: pStmt.DataCount() → C-API Number of columns in a result set …
void Readonly()
C#: pStmt.Readonly() → C-API Determine If An SQL Statement Writes The Database …
void Status(Sq3StmtStatusE op, bool resetFlg)
C#: sq3stmt.Status(Sq3StmtStatusE op, bool resetFlg) → C-API Prepared Statement Status …
Sq3LiteC DbHandle()
C#: Sq3LiteC sq3stmt.DbHandle() → C-API Find The Database Handle Of A Prepared Statement …
void IsExplain()
C#: pStmt.IsExplain() → C-API Query The EXPLAIN Setting For A Prepared Statement …
static Sq3StmtC NextStmt(Sq3LiteC pDb, Sq3StmtC pStmt=null)
C#: [static] Sq3StmtC Sq3StmtC.NextStmt(Sq3LiteC pDb, Sq3StmtC pStmt = null) → C-API Find the ne...
void ClearBindings()
C#: sq3stmt.ClearBindings() → C-API Reset All Bindings On A Prepared Statement …
Sq3ErrorE Step()
C#: Sq3ErrorE sq3stmt.Step() → C-API Evaluate An SQL Statement …
void Explain(int eMode)
C#: pStmt.Explain(int eMode) → C-API Change The EXPLAIN Setting For A Prepared Statement …
void Reset()
C#: pStmt.Reset() → C-API Reset A Prepared Statement Object …
string Sql()
C#: string pStmt.Sql() → C-API Retrieving Statement SQL …
string GetPzTail()
C#: string sq3stmt.GetPzTail() → C-API return the non compiled sql-statement from Sq3StmtPrepar...
string ExpandedSql()
C#: string pStmt.ExpandedSql() → C-API Retrieving Statement SQL …
Sq3StmtC(Sq3LiteC db, string zSql)
CONSTRUCTOR.
static IntPtr CTOR(Sq3LiteC db, string zSql)
C#: [constructor,static] Sq3StmtC Sq3StmtC.PrepareV2(Sq3LiteC db, string zSql) → C-API Compili...
void Sq3Finalize()
C#: [destructor] pStmt.Sq3Finalize() → C-API Destroy A Prepared Statement Object …
static Sq3StmtC PrepareV3(Sq3LiteC db, string zSql, Sq3PrepareEF prepFlags=Sq3PrepareEF.NO)
C#: [constructor,static] Sq3StmtC Sq3StmtC.PrepareV3(Sq3LiteC db, string zSql, Sq3PrepareEF prepFlags...
static Sq3StmtC PrepareV2(Sq3LiteC db, string zSql)
C#: [constructor,static] Sq3StmtC Sq3StmtC.PrepareV2(Sq3LiteC db, string zSql) → C-API Compili...
Sq3ErrorE
→ C-API: Sq3ErrorE → C-API: Sq3ErrorE
Sq3PrepareEF
→ C-API: Sq3PrepareEF → C-API: Sq3PrepareEF
Sq3StmtStatusE
→ C-API: Sq3StmtStatusE → C-API: Sq3StmtStatusE
Sq3TypeE
→ C-API: Sq3TypeE → C-API: Sq3TypeE