Sqlite:使用Python的sqlite3:需要注意下commit方式与qt稍有不同import sqlite3class DBManager(): def __init__(self): self.db = sqlite3.connect("core.db") ...
分类:
数据库 时间:
2014-11-20 20:04:02
阅读次数:
612
EF虽说对LocalDb支持的不错,但LocalDb有自身的缺陷(不想sqlite那样数据库文件可以像普通文件一样使用). LocalDb在一个计算机上会对数据库有唯一性约束,要求本机的localdb不能重名.如果没有注意到这一点就会有以下问题: Cannot attach the file ‘{0...
分类:
数据库 时间:
2014-11-20 15:15:55
阅读次数:
208
Information about LocalDB comes from here and SQL Server 2014 Books Online. LocalDB is the full SQL Server Express engine, but invoked directly from t...
分类:
数据库 时间:
2014-11-20 15:02:21
阅读次数:
204
Last month I’ve a chance to develop an app using Sqlite and Entity Framework Code First. Before I started with this project, I thought everything will...
分类:
数据库 时间:
2014-11-20 14:57:05
阅读次数:
181
------------------------------------------------------------------------------SQLite简介----------------------------------------------------------------...
分类:
数据库 时间:
2014-11-19 20:08:05
阅读次数:
379
界面文件activity_main.xml<Button
android:id="@+id/createButton"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_below="@id/hello_world"
android:text="createdatabase"/>
<Button
android:id="@+id/updateButton"
a..
分类:
移动开发 时间:
2014-11-19 18:54:14
阅读次数:
303
框架地址:https://github.com/yangfuhai/afinal
对应源码:
net.tsz.afinal.annotation.sqlite.*
net.tsz.afinal.db.sqlite.*
net.tsz.afinal.db.table.*
net.tsz.afinal.utils.ClassUtils、net.tsz.afinal.ut...
分类:
移动开发 时间:
2014-11-19 18:50:46
阅读次数:
253
最近遇到的需要加载已有路径下(sd card下)db的问题,找了一下资料,以下是解决的方法,仅供参考(转载自eoe):SQLiteOpenHelper 是Android框架为我们提供的一个非常好的数据库打开、升级与关闭的工具类。但是这个工具类会自动把db文件创建到“ /data/data/com.*...
分类:
数据库 时间:
2014-11-19 13:50:43
阅读次数:
196
PetaPoco与SQLite.对于精简版本的ORM,PetaPoco确实短小精悍,想做个WPF的Demo,然后将PetaPoco与SQLite集成一起使用,简单易用,是不错的选择。(1)==数据库配置文件 (2)配置类class Config { ...
分类:
数据库 时间:
2014-11-19 12:04:54
阅读次数:
192
(一)php
1. 下载及安装
http://www.appservnetwork.com/
从上面的网址下载appserv-win32-2.5.10并安装,在安装的时候,只选择安装php。
因为,我们只使用其中的php。
这所以这样做,是因为AppServ中的php,里面包含了php_pdo.dll这个库。
假设安装后,php的路径为:C:/AppSe...
分类:
数据库 时间:
2014-11-19 11:24:35
阅读次数:
299