We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(3)
有一个很好的示例数据库,称为 Chinook。它试图成为取代 NorthWind 的现代典范。它们具有适用于不同数据库服务器(包括 SQLite)的版本。
另外,请在 SQLite .NET 客户端论坛中查看此示例(附在第一篇文章中)
让 Microsoft EFQuerySamples 项目与 SQLite 一起使用也许是一个 GUI 工具来创建数据库的东西会让开始更容易,检查这个,免费供个人使用
就我个人而言,我创建 SQLite 数据库来测试 NHibernate 映射。通常,我创建类和映射,然后使用映射生成新 SQLite 文件(或者更常见的是内存数据库中)的模式并使用它。大多数 NHibernate 介绍文章也这样做。
There is a nice sample database called Chinook. It's trying to be the modern example to replace NorthWind. They have versions for different database servers including SQLite.
Also, check this sample in the SQLite .NET client forums (attached to first post)
Getting the Microsoft EFQuerySamples project to work with SQLiteMaybe a GUI tool to create database stuff will make starting easier, check this one, free for personal use
Personally, I create SQLite databases for testing NHibernate mappings. Usually I create my classes and mappings then use the mappings to generate schema to a new SQLite file (or in memory database, more often) and use that. Most NHibernate introduction articles do that as well.
SQLite 被许多应用程序广泛使用,因此我很确定可以在您的计算机上找到很多示例。例如,在我的 Win10 PC 上,如果我在“c:\Users\Konstantin”(我的个人资料)中搜索具有以下内容的文件:
我目前得到 785 个结果。其中大多数开头都有该文本 - 99% 是 SQLite 数据库文件。特别是我看到 Skype、Viber、Dropbox、Office 和 Firefox 使用它。
SQLite is whidely used by many applications so I am pretty sure very lot examples can be found on your computer. For example, on my Win10 PC if I search in "c:\Users\Konstantin" (my profile) for files with:
I am currently getting 785 results. Most of them, which have that text in the beginning - it is 99% SQLite database files. Particularly I see that it is used by skype, viber, dropbox, office and firefox.
我使用 sqlightCrud 操作
首先创建数据库类。
包com.db;
I used sqlightCrud operation
First creat database class.
package com.db;