Метод | Описание | |
---|---|---|
Split ( string source, char separator ) : string[] |
Smart method of splitting a string. Skips quoted elements, removes the quotes. This split function works somewhat like the String.Split() function in that it breaks apart a string into pieces and returns the pieces as an array. The primary differences are: |
|
ToDateTime ( string dateText ) : System.DateTime |
Converts a string into a DateTime, using the current DateTimeFormat specified for the connection when it was opened. Acceptable ISO8601 DateTime formats are: yyyy-MM-dd HH:mm:ss yyyyMMddHHmmss yyyyMMddTHHmmssfffffff yyyy-MM-dd yy-MM-dd yyyyMMdd HH:mm:ss THHmmss |
|
ToString ( System.DateTime dateValue ) : string |
Converts a DateTime to a string value, using the current DateTimeFormat specified for the connection when it was opened.
|
|
ToString ( |
Converts a UTF-8 encoded IntPtr of the specified length into a .NET string
|
|
ToUTF8 ( System.DateTime dateTimeValue ) : byte[] |
Convert a DateTime to a UTF-8 encoded, zero-terminated byte array. This function is a convenience function, which first calls ToString() on the DateTime, and then calls ToUTF8() with the string result. |
|
ToUTF8 ( string sourceText ) : byte[] |
Converts a string to a UTF-8 encoded byte array sized to include a null-terminating character.
|
|
UTF8ToString ( |
Converts a UTF-8 encoded IntPtr of the specified length into a .NET string
|
Метод | Описание | |
---|---|---|
ColumnToType ( SqliteStatement stmt, int i ) : |
Determines the data type of a column in a statement
|
|
DbTypeToColumnSize ( DbType typ ) : int |
Returns the ColumnSize for the given DbType
|
|
DbTypeToType ( DbType typ ) : |
Convert a DbType to a Type
|
|
SqliteConvert ( SqliteDateFormats fmt ) : System |
Initializes the conversion class
|
|
SqliteTypeToType ( |
Converts a SqliteType to a .NET Type object
|
|
ToDateTime ( |
Internal function to convert a UTF-8 encoded IntPtr of the specified length to a DateTime. This is a convenience function, which first calls ToString() on the IntPtr to convert it to a string, then calls ToDateTime() on the string to return a DateTime. |
|
TypeNameToDbType ( string Name ) : DbType |
For a given type name, return a closest-match .NET type
|
|
TypeToAffinity ( |
For a given type, return the closest-match Sqlite TypeAffinity, which only understands a very limited subset of types.
|
|
TypeToDbType ( |
For a given intrinsic type, return a DbType
|
public static Split ( string source, char separator ) : string[] | ||
source | string | Source string to split apart |
separator | char | Separator character |
Результат | string[] |
public ToDateTime ( string dateText ) : System.DateTime | ||
dateText | string | The string containing either a Tick value or an ISO8601-format string |
Результат | System.DateTime |
public ToString ( System.DateTime dateValue ) : string | ||
dateValue | System.DateTime | The DateTime value to convert |
Результат | string |
public ToString ( |
||
nativestring | The pointer to the memory where the UTF-8 string is encoded | |
Результат | string |
public ToUTF8 ( System.DateTime dateTimeValue ) : byte[] | ||
dateTimeValue | System.DateTime | The DateTime to convert. |
Результат | byte[] |
public ToUTF8 ( string sourceText ) : byte[] | ||
sourceText | string | The string to convert to UTF-8 |
Результат | byte[] |
public UTF8ToString ( |
||
nativestring | The pointer to the memory where the UTF-8 string is encoded | |
Результат | string |