I am using system.data.sqlite for in memory testing, and i wanted to know if any of you got a link or knowledge for a open source project that simply create database and tables ?
For example :
InMemoryDB db = new InMemoryDB();
Table t = new Table("myTable");
t.Add(new Coloum("Uid",DbType.VarChar,PrimeryKey = true));
db.Add(t);
or even a better idea ?
只需使用"Data Source=:memory:"
作为连接字符串,并直接在SQL中操作DB
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.