public LinqToSparqlQuery(IRdfContext context) { DataContext = context; tripleStore = null; OriginalType = typeof(T); parser = new LinqToSparqlExpTranslator <T>(); }
/// <summary> /// Initializes a new instance of the <see cref="QueryFactory{T}"/> class. /// </summary> /// <param name="queryType">the <see cref="LinqToRdf.QueryType"/> of the query.</param> /// <param name="context">The <see cref="IRdfContext"/> data context that will track results, connections and instances.</param> public QueryFactory(LinqQueryMethod queryType, IRdfContext context) { QueryType = queryType; DataContext = context; TypeTranslator = new XsdtTypeConverter(); }