Skip to content

No information as to what should be included in "baseConnectionString" #45927

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Quivical opened this issue Apr 26, 2025 · 0 comments
Open

Comments

@Quivical
Copy link

Quivical commented Apr 26, 2025

Type of issue

Missing information

Description

In the "Connection String Builder" section, the code example references a string called "baseConnectionString" - see below.

var connectionString = new SqliteConnectionStringBuilder(baseConnectionString)
{
    Mode = SqliteOpenMode.ReadWriteCreate,
    Password = password
}.ToString();

While I presume this is 'Data Source=data.db', without the final semicolon, there's no confirmation of what should, or can, be included in this string. I also presume it could be left empty and data source thusly specified in the body, but there's no such indication of that possibility.

Page URL

https://learn.microsoft.com/en-us/dotnet/standard/data/sqlite/connection-strings

Content source URL

https://github.com/dotnet/docs/blob/main/docs/standard/data/sqlite/connection-strings.md

Document Version Independent Id

8eec3e85-0630-15db-ff40-c89920b89526

Platform Id

d4b28167-c555-9511-87a2-6cb7a86dd454

Article author

@ajcvickers

Metadata

  • ID: 054ee24a-82e4-7bb5-fff5-bb1ab5713472
  • PlatformId: d4b28167-c555-9511-87a2-6cb7a86dd454
  • Service: dotnet-data

Related Issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant