var query = new Query(); query.AddQueryFields("Name");
var query = new Query(); query.AddQueryFields(new[] { "Name", "Age", "Email" });
var query = new Query(); var fieldNames = new ListThe package library for the IQuery AddQueryFields method may depend on the specific context in which it is being used. In general, this method is often used in the context of database queries, so it may be found as part of a larger database library or framework, such as Entity Framework or NHibernate.{ "Name", "Age", "Email" }; foreach (var fieldName in fieldNames) { query.AddQueryFields(fieldName); }