| 注册
请输入搜索内容

热门搜索

Java Linux MySQL PHP JavaScript Hibernate jQuery Nginx
jopen
10年前发布

用在.NET应用中的SQLite客户端和ORM:sqlite-net

sqlite-net是一个开源的,非常小的库用于在.NET 和 Mono 应用中将数存储至 [http://www.sqlite.org SQLite 3 数据库]。它采用C#开发,能够很简单得编译至你的项目中。它支持平台包括Mono for Android, .NET, Silverlight, WP7, WinRT, Azure等。

sqlite-net 设计成一个快捷,方便的数据库层。它的设计遵循这些目标:

  • Very easy to integrate with existing projects and with MonoTouch projects.

  • Thin wrapper over SQLite and should be fast and efficient. (The library should not be the performance bottleneck of your queries.)

  • Very simple methods for executing CRUD operations and queries safely (using parameters) and for retrieving the results of those query in a strongly typed fashion.

  • Works with your data model without forcing you to change your classes. (Contains a small reflection-driven ORM layer.)

  • 0 dependencies aside from a compiled form of the sqlite2 library.

    var conn = new SQLiteConnection("foofoo");      var query = conn.Table<Stock>().Where(v => v.Symbol.StartsWith("A"));        foreach (var stock in query)          Debug.WriteLine("Stock: " + stock.Symbol);

项目主页:http://www.open-open.com/lib/view/home/1418109333558

 本文由用户 jopen 自行上传分享,仅供网友学习交流。所有权归原作者,若您的权利被侵害,请联系管理员。
 转载本站原创文章,请注明出处,并保留原始链接、图片水印。
 本站是一个以用户分享为主的开源技术平台,欢迎各类分享!
 本文地址:https://www.open-open.com/lib/view/open1418109333558.html
.NET开发 sqlite-net