示例#1
0
        private IntPtr Prepare()
        {
            IntPtr intPtr = SQLite3.Prepare2(_conn.Handle, CommandText);

            BindAll(intPtr);
            return(intPtr);
        }
示例#2
0
        Sqlite3Statement Prepare()
        {
            var stmt = SQLite3.Prepare2(_conn.Handle, CommandText);

            BindAll(stmt);
            return(stmt);
        }
示例#3
0
        /// <summary>
        /// Prepares the command.
        /// </summary>
        /// <param name="command">
        /// The command.
        /// </param>
        /// <returns>
        /// The <see cref="IntPtr"/>.
        /// </returns>
        public IntPtr PrepareCommand(string command)
        {
            if (!string.IsNullOrEmpty(command))
            {
                this.CommandText = command;
            }

            var stmt = SQLite3.Prepare2(this._conn.Handle, this.CommandText);

            // BindAll(stmt);
            return(stmt);
        }
示例#4
0
        protected virtual Sqlite3Statement Prepare()
        {
            var stmt = SQLite3.Prepare2(Connection.Handle, CommandText);

            return(stmt);
        }
示例#5
0
 protected virtual IntPtr Prepare()
 {
     return(SQLite3.Prepare2(Connection.Handle, CommandText));
 }