Time of Update: 2015-05-14
標籤:在 .NET 裡面使用 SQLite, 我這裡使用的wrapper是 System.Data.SQLite,它只需要一個dll,介面符合ADO.Net 2.0的定義,效能也不錯,NHibernate用的也是它,目前支援ADO.NET 3.5了,支援整合在 VS2005 和 VS2008裡面,而且支援wince,是個亮點因為符合ADO.NET的規範,所以使用方式,基本和 SqlClient, OleDb等原生的一致using System.Data; using
Time of Update: 2015-05-14
標籤: 因為工作原因經常用到SQLITE資料庫,但又找不到好用的ORM所以自個整理了一個簡單好用的輕量極ORM架構:Easyliter 功能介紹:1、支援SQL語句操作2、支援 List<T>和DataTable兩種返回格式3、支援拉姆達表達示進行資料查詢和分頁4、內建建立實體類函數5、依賴於 System.Data.SQLite使用方法如下: static void Main(string[] args) { var
Time of Update: 2015-04-28
標籤:C#讀取一些C++建立的sqlite資料庫時亂碼, C++儲存DB是用GB2312編碼的, C#調用的官方的system.data.sqlite是用的UTF-8編碼的, 在讀取時會亂碼, 用一個GB2312編碼的system.data.sqlite就行了.可以下載sqlite源碼修改重編譯dll修改SQliteConvert.cs line52 //private static Encoding _utf8 = new UTF8Encoding();&
Time of Update: 2015-04-28
標籤:第一步:安裝SQlite For Windows Phone 外掛程式:外掛程式:http://www.sqlite.org/download.htmlWindows Phone 8 外掛程式下載後的名稱:sqlite-wp80-winrt-3080803.vsixWindows Phone 8.1 外掛程式下載後的名稱:sqlite-wp81-winrt-3080803.vsix進入後下載安裝,重啟VS2013,然後添加引用,在windows phone
Time of Update: 2015-04-22
標籤:http://www.yunqa.de/delphi/doku.php/products/sqlitespy/indexSQLiteSpy is a fast and compact GUI database manager for SQLite. It reads SQLite3 files and executes SQL against them. Its graphical user interface makes it very easy
Time of Update: 2015-04-11
標籤:unity3d 資料庫 sqlite android平台 ios 1,編輯器建立好資料庫結構,產生sqlite資料庫檔案,可以用navicat圖形介面編輯器來操作。2,建立好的資料庫,尾碼名變為.txt格式(方便unity3d載入),放檔案放到Assest/Resources目錄下(建立目錄)。放在Resou
Time of Update: 2015-04-07
標籤: 官方參考文檔:SQLite Query Language: Core Functions http://www.sqlite.org/lang_corefunc.html測試SQL語句:SELECT substr(‘2012-12-12 10:11:12 fff‘,0,20) AS substr_0_20,substr(‘2012-12-12 10:11:12 fff‘,0,19) AS substr_0_19,substr(‘2012-12-12 10:11:12
Time of Update: 2015-03-31
標籤:php官網一段留言IMPORTANT! just a note: weird behaviour when doing an exec on a sqlite db!!!if want to execute a query on a sqlite db with exec, and your dbfile already was e.g. mode 777, and you get some php errors saying"SQLite3::exec(): unable to
Time of Update: 2015-03-30
標籤:SQLite3.0使用的是C的函數介面,常用函數如下:sqlite3_open() //開啟資料庫 sqlite3_close() //關閉資料庫sqlite3_exec() //執行sql語句,例如建立表sqlite3_prepare_v2() //編譯SQL語句sqlite3_step() //執行查詢SQL語句sqlite3_finalize()
Time of Update: 2015-03-10
標籤:opengl tips MeasureSpec.EXACTLY [內容] 檢視調用方已經指定了孩子視圖的精確大小 MeasureSpec.AT_MOST [內容] 檢視調用方設定了最大值,孩子視圖可以請求更少的空間 MeasureSpec.UNSPECIFIED [內容]
Time of Update: 2015-03-06
標籤:簡單的介紹 SQLite資料庫是一款非常小巧的嵌入式開來源資料庫軟體,也就是說沒有獨立的維護進程,所有的維護都來自於程式本身。它是遵守ACID的關聯式資料庫管理系統,它的設計目標是嵌入式的,而且目前已經在很多嵌入式產品中使用了它,它佔用資源非常的低,在嵌入式裝置中,可能只需要幾百K的記憶體就夠了。它能夠支援Windows/Linux/Unix等等主流的作業系統,同時能夠跟很多程式語言相結合,比如 Tcl、C#、PHP、Java等,
Time of Update: 2015-02-08
標籤:這幾天在研究如何使用Entity Framework 訪問資料庫,其中也走了不少彎路,還好最後搭建環境成功,下面就詳細說明下環境搭建步驟1.下載安裝SQLite Data
Time of Update: 2015-01-26
標籤:sqlite
Time of Update: 2015-01-03
標籤:SQLite自增ID自段 使用方法為 INTEGER PRIMARY KEY AUTOINCREMENT 如:CREATE TABLE 21andy ( id INTEGER PRIMARY KEY AUTOINCREMENT, 21andy VARCHAR ( 100 ) NOT NULL , date DATE
Time of Update: 2014-12-23
標籤:定義一個類:using System.Data.SQLite;namespace DAL{ /// <summary> /// SQLite中文排序 /// </summary> [SQLiteFunction(FuncType = FunctionType.Collation, Name = "PinYin")] public class SQLitePinYingSort : SQLiteFunction {
Time of Update: 2014-12-15
標籤:style io ar os sp for on 檔案 資料 1,下載官方的DLL檔案
Time of Update: 2014-12-11
標籤:des android http io ar os sp java strong 通過SQLiteDatabase 來訪問sqlite資料庫 ----Main.java
Time of Update: 2014-11-27
標籤:sqlite3 資料類型 一般資料採用的固定的待用資料類型,而SQLite採用的是動態資料類型,會根據存入值自動判斷。SQLite具有以下五種資料類型:1.NULL:空值。2.INTEGER:帶符號的整型,具體取決有存入數位範圍大小。3.REAL:浮點數字,儲存為8-byte
Time of Update: 2014-11-15
標籤:lighttpd php sqlite (一)lighttpd1. 安裝yum install lighttpd安裝完成後,系統中應該多了一個使用者lighttpd和組lighttpd。這個使用者,預設是不允許登陸的。我們修改/etc/passwd,將lighttpd修改為如下形式。lighttpd:x:489:470:lighttpd web
Time of Update: 2014-11-11
標籤:style blog http io color ar os 使用 sp 最近一直在和資料庫作對。從安卓平台上給了我個SQLite資料庫,要求程式能夠讀取不同的檔案。由於欄位實在太多,不願