📄 system.data.sqlite.xml
字号:
<param name="args">The arguments for the command to process</param>
<returns>You may return most simple types as a return value, null or DBNull.Value to return null, DateTime, or
you may return an Exception-derived class if you wish to return an error to SQLite. Do not actually throw the error,
just return it!</returns>
</member>
<member name="M:System.Data.SQLite.SQLiteFunction.Step(System.Object[],System.Int32,System.Object@)">
<summary>
Aggregate functions override this method to do their magic.
</summary>
<remarks>
Typically you'll be updating whatever you've placed in the contextData field and returning as quickly as possible.
</remarks>
<param name="args">The arguments for the command to process</param>
<param name="stepNumber">The 1-based step number. This is incrememted each time the step method is called.</param>
<param name="contextData">A placeholder for implementers to store contextual data pertaining to the current context.</param>
</member>
<member name="M:System.Data.SQLite.SQLiteFunction.Final(System.Object)">
<summary>
Aggregate functions override this method to finish their aggregate processing.
</summary>
<remarks>
If you implemented your aggregate function properly,
you've been recording and keeping track of your data in the contextData object provided, and now at this stage you should have
all the information you need in there to figure out what to return.
NOTE: It is possible to arrive here without receiving a previous call to Step(), in which case the contextData will
be null. This can happen when no rows were returned. You can either return null, or 0 or some other custom return value
if that is the case.
</remarks>
<param name="contextData">Your own assigned contextData, provided for you so you can return your final results.</param>
<returns>You may return most simple types as a return value, null or DBNull.Value to return null, DateTime, or
you may return an Exception-derived class if you wish to return an error to SQLite. Do not actually throw the error,
just return it!
</returns>
</member>
<member name="M:System.Data.SQLite.SQLiteFunction.Compare(System.String,System.String)">
<summary>
User-defined collation sequences override this method to provide a custom string sorting algorithm.
</summary>
<param name="param1">The first string to compare</param>
<param name="param2">The second strnig to compare</param>
<returns>1 if param1 is greater than param2, 0 if they are equal, or -1 if param1 is less than param2</returns>
</member>
<member name="M:System.Data.SQLite.SQLiteFunction.ConvertParams(System.Int32,System.IntPtr)">
<summary>
Converts an IntPtr array of context arguments to an object array containing the resolved parameters the pointers point to.
</summary>
<remarks>
Parameters passed to functions have only an affinity for a certain data type, there is no underlying schema available
to force them into a certain type. Therefore the only types you will ever see as parameters are
DBNull.Value, Int64, Double, String or byte[] array.
</remarks>
<param name="nArgs">The number of arguments</param>
<param name="argsptr">A pointer to the array of arguments</param>
<returns>An object array of the arguments once they've been converted to .NET values</returns>
</member>
<member name="M:System.Data.SQLite.SQLiteFunction.SetReturnValue(System.IntPtr,System.Object)">
<summary>
Takes the return value from Invoke() and Final() and figures out how to return it to SQLite's context.
</summary>
<param name="context">The context the return value applies to</param>
<param name="returnValue">The parameter to return to SQLite</param>
</member>
<member name="M:System.Data.SQLite.SQLiteFunction.ScalarCallback(System.IntPtr,System.Int32,System.IntPtr)">
<summary>
Internal scalar callback function, which wraps the raw context pointer and calls the virtual Invoke() method.
</summary>
<param name="context">A raw context pointer</param>
<param name="nArgs">Number of arguments passed in</param>
<param name="argsptr">A pointer to the array of arguments</param>
</member>
<member name="M:System.Data.SQLite.SQLiteFunction.CompareCallback(System.Int32,System.IntPtr,System.Int32,System.IntPtr)">
<summary>
Internal collation sequence function, which wraps up the raw string pointers and executes the Compare() virtual function.
</summary>
<param name="len1">Length of the string pv1</param>
<param name="ptr1">Pointer to the first string to compare</param>
<param name="len2">Length of the string pv2</param>
<param name="ptr2">Pointer to the second string to compare</param>
<returns>Returns -1 if the first string is less than the second. 0 if they are equal, or 1 if the first string is greater
than the second.</returns>
</member>
<member name="M:System.Data.SQLite.SQLiteFunction.StepCallback(System.IntPtr,System.Int32,System.IntPtr)">
<summary>
The internal aggregate Step function callback, which wraps the raw context pointer and calls the virtual Step() method.
</summary>
<remarks>
This function takes care of doing the lookups and getting the important information put together to call the Step() function.
That includes pulling out the user's contextData and updating it after the call is made. We use a sorted list for this so
binary searches can be done to find the data.
</remarks>
<param name="context">A raw context pointer</param>
<param name="nArgs">Number of arguments passed in</param>
<param name="argsptr">A pointer to the array of arguments</param>
</member>
<member name="M:System.Data.SQLite.SQLiteFunction.FinalCallback(System.IntPtr,System.Int32,System.IntPtr)">
<summary>
An internal aggregate Final function callback, which wraps the context pointer and calls the virtual Final() method.
</summary>
<param name="context">A raw context pointer</param>
<param name="nArgs">Not used, always zero</param>
<param name="argsptr">Not used, always zero</param>
</member>
<member name="M:System.Data.SQLite.SQLiteFunction.Dispose(System.Boolean)">
<summary>
Placeholder for a user-defined disposal routine
</summary>
<param name="disposing">True if the object is being disposed explicitly</param>
</member>
<member name="M:System.Data.SQLite.SQLiteFunction.Dispose">
<summary>
Disposes of any active contextData variables that were not automatically cleaned up. Sometimes this can happen if
someone closes the connection while a DataReader is open.
</summary>
</member>
<member name="M:System.Data.SQLite.SQLiteFunction.#cctor">
<summary>
Using reflection, enumerate all assemblies in the current appdomain looking for classes that
have a SQLiteFunctionAttribute attribute, and registering them accordingly.
</summary>
</member>
<member name="M:System.Data.SQLite.SQLiteFunction.BindFunctions(System.Data.SQLite.SQLiteBase)">
<summary>
Called by SQLiteBase derived classes, this function binds all user-defined functions to a connection.
It is done this way so that all user-defined functions will access the database using the same encoding scheme
as the connection (UTF-8 or UTF-16).
</summary>
<remarks>
The wrapper functions that interop with SQLite will create a unique cooke value, which internally is a pointer to
all the wrapped callback functions. The interop function uses it to map CDecl callbacks to StdCall callbacks.
</remarks>
<param name="sqlbase">The base object on which the functions are to bind</param>
<returns>Returns an array of functions which the connection object should retain until the connection is closed.</returns>
</member>
<member name="M:System.Data.SQLite.SQLiteFunction.UnbindFunctions(System.Data.SQLite.SQLiteBase,System.Data.SQLite.SQLiteFunction[])">
<summary>
Issued after the base connection is closed, this function cleans up all user-defined functions and disposes of them.
</summary>
<remarks>
Cleaning up here is done mainly because of the interop wrapper. It allocated memory to hold a reference to all the
delegates, and now must free that memory.
Freeing is done after the connection is closed to ensure no callbacks get hit after we've freed the cookie.
</remarks>
<param name="sqlbase">The base SQLite connection object</param>
<param name="ar">An array of user-defined functions for this object</param>
</member>
<member name="P:System.Data.SQLite.SQLiteFunction.SQLiteConvert">
<summary>
Returns a reference to the underlying connection's SQLiteConvert class, which can be used to convert
strings and DateTime's into the current connection's encoding schema.
</summary>
</member>
<member name="T:System.Data.SQLite.SQLiteDataReader">
<summary>
SQLite implementation of DbDataReader.
</summary>
</member>
<member name="F:System.Data.SQLite.SQLiteDataReader._command">
<summary>
Underlying command this reader is attached to
</summary>
</member>
<member name="F:System.Data.SQLite.SQLiteDataReader._activeStatementIndex">
<summary>
Index of the current statement in the command being processed
</summary>
</member>
<member name="F:System.Data.SQLite.SQLiteDataReader._activeStatement">
<summary>
Current statement being Read()
</summary>
</member>
<member name="F:System.Data.SQLite.SQLiteDataReader._readingState">
<summary>
State of the current statement being processed.
-1 = First Step() executed, so the first Read() will be ignored
0 = Actively reading
1 = Finished reading
2 = Non-row-returning statement, no records
</summary>
</member>
<member name="F:System.Data.SQLite.SQLiteDataReader._rowsAffected">
<summary>
Number of records affected by the insert/update statements executed on the command
</summary>
</member>
<member name="F:System.Data.SQLite.SQLiteDataReader._fieldCount">
<summary>
Count of fields (columns) in the row-returning statement currently being processed
</summary>
</member>
<member name="F:System.Data.SQLite.SQLiteDataReader._fieldTypeArray">
<summary>
Datatypes of active fields (columns) in the current statement, used for type-restricting data
</summary>
</member>
<member name="F:System.Data.SQLite.SQLiteDataReader._commandBehavior">
<summary>
The behavior of the datareader
</summary>
</member>
<member name="F:System.Data.SQLite.SQLiteDataReader._disposeCommand">
<summary>
If set, then dispose of the command object when the reader is finished
</summary>
</member>
<member name="M:System.Data.SQLite.SQLiteDataReader.#ctor(System.Data.SQLite.SQLiteCommand,System.Data.CommandBehavior)">
<summary>
Internal constructor, initializes the datareader and sets up to begin executing statements
</summary>
<param name="cmd">The SQLiteCommand this data reader is for</param>
<param name="behave">The expected behavior of the data reader</param>
</member>
<member name="M:System.Data.SQLite.SQLiteDataReader.Close">
<summary>
Closes the datareader, potentially closing the connection as well if CommandBehavior.CloseConnection was specified.
</summary>
</member>
<member name="M:System.Data.SQLite.SQLiteDataReader.Dispose(System.Boolean)">
<summary>
Disposes the datareader. Calls Close() to ensure everything is cleaned up.
</summary>
</member>
<member name="M:System.Data.SQLite.SQLiteDataReader.CheckClosed">
<summary>
Throw an error if the datareader is closed
</summary>
</member>
<member name="M:System.Data.SQLite.SQLiteDataReader.CheckValidRow">
<summary>
Throw an error if a row is not loaded
</summary>
</member>
<member name="M:System.Data.SQLite.SQLiteDataReader.GetEnumerator">
<summary>
Enumerator support
</summary>
<returns>Returns a DbEnumerator object.</returns>
</member>
<member name="M:System.Data.SQLite.SQLiteDataReader.VerifyType(System.Int32,System.Data.DbType)">
<summary>
SQLite is inherently un-typed. All datatypes in SQLite are natively strings. The definition of the columns of a table
and the affinity of returned types are all we have to go on to type-restrict data in the reader.
This function attempts to verify that the type of data being requested of a column matches the datatype of the column. In
the case of columns that are not backed into a table definition, we attempt to match up the affinity of a column (int, double, string or blob)
to a set of known types that closely match that affinity. It's not an exact science, but its the best we can do.
</summary>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -