Skip to content

Commit ac7ecbd

Browse files
authored
Update M.D.Sqlite provider docs (#43685)
1 parent 4b1213f commit ac7ecbd

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

docs/navigate/data-access/index.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ landingContent:
5757
- linkListType: reference
5858
links:
5959
- text: API reference
60-
url: ../../../api/index.md?view=msdata-sqlite-3.1.0&preserve-view=false
60+
url: /dotnet/api/microsoft.data.sqlite
6161
- text: SQL syntax
6262
url: https://www.sqlite.org/lang.html
6363

docs/navigate/data-access/toc.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -700,7 +700,7 @@ items:
700700
- name: Bulk insert
701701
href: ../../standard/data/sqlite/bulk-insert.md
702702
- name: Entity Framework Core
703-
href: /ef/core/providers/sqlite/limitations/?toc=/dotnet/navigate/data-access/toc.json&bc=/dotnet/breadcrumb/toc.json
703+
href: /ef/core/providers/sqlite/limitations
704704
- name: Dapper
705705
href: ../../standard/data/sqlite/dapper-limitations.md
706706
- name: System.Data.SQLite
@@ -717,9 +717,9 @@ items:
717717
href: ../../fundamentals/runtime-libraries/system-data-dataset.md
718718
- name: DataTable class
719719
href: ../../fundamentals/runtime-libraries/system-data-datatable.md
720-
- name: Entity Framework
721-
href: /ef/core/?toc=/dotnet/navigate/data-access/toc.json&bc=/dotnet/breadcrumb/toc.json
720+
- name: Entity Framework Core
721+
href: /ef/core/
722722
- name: Azure Storage
723-
href: /dotnet/api/overview/azure/storage/?toc=/dotnet/navigate/data-access/toc.json&bc=/dotnet/breadcrumb/toc.json
723+
href: /dotnet/api/overview/azure/storage
724724
- name: Azure Cosmos DB .NET SDK
725-
href: /azure/cosmos-db/nosql/sdk-dotnet-v3/?toc=/dotnet/navigate/data-access/toc.json&bc=/dotnet/breadcrumb/toc.json
725+
href: /azure/cosmos-db/nosql/sdk-dotnet-v3

docs/standard/data/sqlite/extensions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ description: Learn how to load SQLite extensions.
77

88
SQLite supports loading extensions at run time. Extensions include things like additional SQL functions, collations, virtual tables, and more.
99

10-
.NET Core includes additional logic for locating native libraries in additional places like referenced NuGet packages. Unfortunately, SQLite can't leverage this logic; it calls the platform API directly to load libraries. Because of this, you may need to modify the PATH, LD_LIBRARY_PATH, or DYLD_LIBRARY_PATH environment variables before loading SQLite extensions. There's [a sample](https://github.com/dotnet/docs/blob/main/samples/snippets/standard/data/sqlite/ExtensionsSample/Program.cs) on GitHub that demonstrates finding binaries for the current runtime inside a referenced NuGet package.
10+
.NET includes additional logic for locating native libraries in additional places like referenced NuGet packages. Unfortunately, SQLite can't leverage this logic; it calls the platform API directly to load libraries. Because of this, you may need to modify the `PATH`, `LD_LIBRARY_PATH`, or `DYLD_LIBRARY_PATH` environment variables before loading SQLite extensions. There's [a sample](https://github.com/dotnet/docs/blob/main/samples/snippets/standard/data/sqlite/ExtensionsSample/Program.cs) on GitHub that demonstrates finding binaries for the current runtime inside a referenced NuGet package.
1111

1212
To load an extension, call the <xref:Microsoft.Data.Sqlite.SqliteConnection.LoadExtension%2A> method. Microsoft.Data.Sqlite will ensure that the extension remains loaded even if the connection is closed and reopened.
1313

docs/standard/data/sqlite/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,5 @@ This library implements the common ADO.NET abstractions for connections, command
3737
## See also
3838

3939
* [Connection strings](connection-strings.md)
40-
* [API Reference](../../../../api/index.md?view=msdata-sqlite-3.0&preserve-view=true)
40+
* [API Reference](/dotnet/api/microsoft.data.sqlite)
4141
* [SQL Syntax](https://www.sqlite.org/lang.html)

docs/standard/data/sqlite/interop.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: Learn how to interoperate with other SQLite libraries.
55
---
66
# Interoperability
77

8-
Microsoft.Data.Sqlite uses SQLitePCLRaw to interact with the native SQLite library. SQLitePCLRaw provides a thin .NET API over the native SQLite API. SqliteConnection and SqliteDataReader provide access to the underlying SQLitePCLRaw objects letting you call these APIs directly.
8+
`Microsoft.Data.Sqlite` uses `SQLitePCLRaw` to interact with the native SQLite library. `SQLitePCLRaw` provides a thin .NET API over the native SQLite API. `SqliteConnection` and `SqliteDataReader` provide access to the underlying SQLitePCLRaw objects letting you call these APIs directly.
99

1010
The following example shows how to call `sqlite3_trace` to write executed SQL statements to the console:
1111

0 commit comments

Comments
 (0)