in

System.Data.SQLite

An open source ADO.NET provider for the SQLite database engine

Parse connection string when assigned

Last post 01-14-2010 9:23 AM by zoroastro27. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 01-14-2010 9:23 AM

    Parse connection string when assigned

    Hello,

    First, thank you for System.Data.SQLite!!

    I'm a newbie, so not sure if is good idea to ask request, but here it is.

    Looking at the source code I notice that connection string is parsed in the method SQLiteConnection.Open().
    That's different behavior from others .NET providers that parse connection string when is assigned.
    In actual state of things, DataSource returns null while connection haven't been open, but after the first time the connection is open returns the file name.


    And a second suggestion would be return the exact value of Data Source as is defined in the connection string. Not only the file name.


    I think this two things are very important when using DbProviderFactory. That all providers behave the same way to reuse standard code.

     Thanks.

     

     

Page 1 of 1 (1 items)
Powered by Community Server (Commercial Edition), by Telligent Systems