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

In This Topic
    DataSource Property (SQLiteConnection)
    In This Topic
    Gets or sets the location of the database.
    Syntax
    'Declaration
     
    Public Shadows Property DataSource As String
    public new 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