mirror of
https://github.com/dotnetcore/FreeSql.git
synced 2026-02-10 02:10:55 +08:00
Updated 常见问题 (markdown)
4
常见问题.md
4
常见问题.md
@@ -147,8 +147,8 @@ using System.Data.SQLite;
|
||||
string dbpath = Path.Combine(ApplicationData.Current.LocalFolder.Path, "sqliteSample.db");
|
||||
SQLiteConnection _database = new SQLiteConnection($"Data Source={dbpath}");
|
||||
var fsql = new FreeSql.FreeSqlBuilder()
|
||||
`.UseConnectionFactory(FreeSql.DataType.Sqlite, () => _database, typeof(FreeSql.Sqlite.SqliteProvider<>))
|
||||
`.Build();
|
||||
.UseConnectionFactory(FreeSql.DataType.Sqlite, () => _database, typeof(FreeSql.Sqlite.SqliteProvider<>))
|
||||
.Build();
|
||||
```
|
||||
|
||||
[Xamarin Forms,代码较多](https://github.com/densen2014/FreeSqlDemos/tree/master/xamarinFormApps)
|
||||
|
||||
Reference in New Issue
Block a user