You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Why create a new QueryFactory when it can be assigned via an XQuery property.
internal static QueryFactory CreateQueryFactory(XQuery xQuery)
{
//I don't understand what is the meaning of this new creation?
var factory = new QueryFactory(xQuery.Connection, xQuery.Compiler); // Original
//While it can be assigned like this:
var factory = xQuery.QueryFactory; // Another solution
factory.Logger = xQuery.Logger;
return factory;
}
Thanks
The text was updated successfully, but these errors were encountered:
Hi,
Why create a new QueryFactory when it can be assigned via an XQuery property.
Thanks
The text was updated successfully, but these errors were encountered: