コード例 #1
0
ファイル: sqlite3_h.cs プロジェクト: hanahanaside/JPN
     //Version 2
     public     sqlite3_module(
      int iVersion,
      smdxCreateConnect xCreate,
      smdxCreateConnect xConnect,
      smdxBestIndex xBestIndex,
      smdxDisconnect xDisconnect,
      smdxDestroy xDestroy,
      smdxOpen xOpen,
      smdxClose xClose,
      smdxFilter xFilter,
      smdxNext xNext,
      smdxEof xEof,
      smdxColumn xColumn,
      smdxRowid xRowid,
      smdxUpdate xUpdate,
      smdxFunction xBegin,
      smdxFunction xSync,
      smdxFunction xCommit,
      smdxFunction xRollback,
      smdxFindFunction xFindFunction,
      smdxRename xRename,
 /* The methods above are in version 1 of the sqlite_module object. Those 
 ** below are for version 2 and greater. */
      smdxFunctionArg xSavepoint,
      smdxFunctionArg xRelease,
      smdxFunctionArg xRollbackTo
     )
     {
       this.iVersion = iVersion;
       this.xCreate = xCreate;
       this.xConnect = xConnect;
       this.xBestIndex = xBestIndex;
       this.xDisconnect = xDisconnect;
       this.xDestroy = xDestroy;
       this.xOpen = xOpen;
       this.xClose = xClose;
       this.xFilter = xFilter;
       this.xNext = xNext;
       this.xEof = xEof;
       this.xColumn = xColumn;
       this.xRowid = xRowid;
       this.xUpdate = xUpdate;
       this.xBegin = xBegin;
       this.xSync = xSync;
       this.xCommit = xCommit;
       this.xRollback = xRollback;
       this.xFindFunction = xFindFunction;
       this.xRename = xRename;
       this.xSavepoint = xSavepoint;
       this.xRelease = xRelease;
       this.xRollbackTo = xRollbackTo;
     }
コード例 #2
0
ファイル: sqlite3_h.cs プロジェクト: hanahanaside/JPN
 //Version 1
   public sqlite3_module(
    int iVersion,
    smdxCreateConnect xCreate,
    smdxCreateConnect xConnect,
    smdxBestIndex xBestIndex,
    smdxDisconnect xDisconnect,
    smdxDestroy xDestroy,
    smdxOpen xOpen,
    smdxClose xClose,
    smdxFilter xFilter,
    smdxNext xNext,
    smdxEof xEof,
    smdxColumn xColumn,
    smdxRowid xRowid,
    smdxUpdate xUpdate,
    smdxFunction xBegin,
    smdxFunction xSync,
    smdxFunction xCommit,
    smdxFunction xRollback,
    smdxFindFunction xFindFunction,
    smdxRename xRename )
   {
     this.iVersion = iVersion;
     this.xCreate = xCreate;
     this.xConnect = xConnect;
     this.xBestIndex = xBestIndex;
     this.xDisconnect = xDisconnect;
     this.xDestroy = xDestroy;
     this.xOpen = xOpen;
     this.xClose = xClose;
     this.xFilter = xFilter;
     this.xNext = xNext;
     this.xEof = xEof;
     this.xColumn = xColumn;
     this.xRowid = xRowid;
     this.xUpdate = xUpdate;
     this.xBegin = xBegin;
     this.xSync = xSync;
     this.xCommit = xCommit;
     this.xRollback = xRollback;
     this.xFindFunction = xFindFunction;
     this.xRename = xRename;
   }