I am trying to edit the ReflectionObjectFactory's Create(Type t)
method to somehow anticipate this error and deal with it accordingly,
but I don't fully know what the create method is trying to accomplish.
Basically, what this method does is, given an interface type e.g. typeof(IExpressionQualifier) as a parameter, it does

return new ExpressionQualifier();

Except in the background it goes away, finds all the classes which implement IExpressionQualifier, and then instantiates one.

As Jonathan suggests, if you go to the top of files like ExpressionDispatcher.cs, replace the lines that look like:

ExpressionQualifier = ObjectFactory.Get<IExpressionQualifier>();

with

ExpressionQualifier = new ExpressionQualifier>();

and you'll be fine (although you may need to add using statements to find the relevant classes and hunt for them).

You'll need to do a search throughout the project for ObjectFactory.Get...

Thanks,

David.

--
You received this message because you are subscribed to the Google Groups 
"DbLinq" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/dblinq?hl=en.

Reply via email to