This project is read-only.

sql server and windows authentication support

Jul 1, 2011 at 8:55 PM

I didn't find posibility to use windows authentication on sql server - it would be nice to have it. So I have add 2 methods/overloads to SqlServerConnection (constructor and public method):

    public SqlServerConnection(string Server, string Catalog)
        : this(string.Format("Data Source={0};Initial Catalog={1};Integrated Security=true;", Server, Catalog))


    public static IDataStore GetDataStore(string Server, string Catalog)
        return GetDataStore(new SqlServerConnection(Server, Catalog));

Jul 1, 2011 at 9:05 PM
Edited Jul 1, 2011 at 9:09 PM

Good point, I'll enter an issue for this and it will make it into the next build, course as work around in the  mean time you can use the overload that takes the connection string in raw format


public SqlServerConnection(string ConnectionString)