in

Hydrus Software Forums

Discussions about Hydrus Software Products

IDbConnection property on DatabaseFacade (1.1)

Last post 10-20-2006 12:33 PM by Hydrus Support. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 10-20-2006 10:32 AM

    • John
    • Top 10 Contributor
    • Joined on 05-25-2006
    • Columbus, OH
    • Posts 15

    IDbConnection property on DatabaseFacade (1.1)

    I would really like to see an IDbConnection on the DatabaseFacade class in the 1.1 version of the DataSet Toolkit.  I pass a connection string and database type there, but I can't get a connection (or a command builder or data adapter) out of it.

    Poking around in Reflector, it looks like the Factory property on the class is what I need.  Can you expose this publically?

  • 10-20-2006 10:41 AM In reply to

    • jeffesp
    • Top 10 Contributor
    • Joined on 05-08-2006
    • Columbus OH
    • Posts 14

    Re: IDbConnection property on DatabaseFacade (1.1)

    As a workaround:

    I have a facade that is Application scoped in my web project, and I just made a connection object in the same scope using the same connection string.  It's a bit of a hack, but it seems to work.
  • 10-20-2006 12:33 PM In reply to

    Re: IDbConnection property on DatabaseFacade (1.1)

    Could you give a little example showing how you are trying to use it? Why do you want the connection/command builder?

    We can't expose the data adapters we use internally.

    Thanks,
    Hydrus Support
    http://www.hydrussoftware.com
Page 1 of 1 (3 items)
Copyright Hydrus Software, 2007. All rights reserved.