dotConnect for SQLite Documentation
Devart.Data.SQLite Namespace / SQLiteConnectionStringBuilder Class / DataSource Property

In This Topic
    DataSource Property (SQLiteConnectionStringBuilder)
    In This Topic
    Gets or sets the location of the database.
    Syntax
    'Declaration
     
    Public Property DataSource As String
    public string DataSource {get; set;}

    Property Value

    The path and file name of the database.
    Remarks

    This parameter supports both file system paths and URI format like:

    file:test.db?cache=private
    file:///D:/my/path/test.db?cache=private
    
    This support includes in-memory databases, for example:
    "DataSource=:memory:"
    "DataSource=:memory:?cache=shared"
    "DataSource=file::memory:"
    "DataSource=file::memory:?cache=shared"
    "DataSource=file:memdb1?mode=memory&cache=shared"
    
    See Also