Wade Baglin

Results 116 comments of Wade Baglin

Interesting. All that I can think of is that depending on which method of construction is used will depend on whether the provider factory is used. Maybe [this](https://github.com/CollaboratingPlatypus/PetaPoco/wiki/Ways-to-instantiate-PetaPoco) document page...

How did you go @jovball?

@jovball I've looked at the code. It should throw and that is the correct behaviour. It's throwing because it can detect the database type, and therefore, it doesn't know what...

@FransBouma thanks for the guidance, I will add this PetaPoco ASAP. Also a shutout to your great LLBLGen Pro product. It's featured in a few projects that I've had the...

@jovball the latest beta builds will unwrap the factory for you. let me know how you go :smile:

@jovball Yep `-Pre` The overload to use is the one which takes an instance of `DbProviderFactory`

`var factory = DbProviderFactories.GetFactory("System.Data.SqlClient");` That appears to be the SQL factory and not the profiler factory

@jovball does it work for you if you unwrap the provider yourself?

@FransBouma Ah ok. I wasn't sure if somebody using a profiler would need to change `"System.Data.SqlClient"` or not. Thanks for clearing it up. @jovball I'm not sure what going on....