﻿<?xml version="1.0" encoding="utf-8"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Intersoft Community - Crosslight - Where to add custom queries?</title><link>http://www.intersoftsolutions.com/Community/Crosslight/Where-to-add-custom-queries/</link><description /><generator>http://www.intersoftsolutions.com</generator><language>en</language><copyright>Copyright 2002 - 2015 Intersoft Solutions Corp. All rights reserved.</copyright><ttl>60</ttl><item><title>Where to add custom queries?</title><link>http://www.intersoftsolutions.com/Community/Crosslight/Where-to-add-custom-queries/</link><pubDate>Tue, 27 Jan 2015 17:12:11 GMT</pubDate><dc:creator>technical@intersoftpt.com</dc:creator><description>&lt;p&gt;Hi Fabian,&lt;/p&gt;&lt;p&gt;To add a server-side query, you will need to extend the controller by adding the desired method that will be called from the client. While in the client, you can use named query which is built into the DataListViewModel.&lt;/p&gt;&lt;p&gt;To learn more how it works, please download the sample&amp;nbsp;&lt;a href="http://git.intersoftpt.com/projects/CROS-SUPP/repos/android-filter-data-using-subquery/browse" target="_blank"&gt;here&lt;/a&gt;. Pay attention to the CategoryListViewModel.cs in the Core project, and the InventoryController.Partial.cs in the web project.&lt;/p&gt;&lt;p&gt;Hope this helps.&lt;/p&gt;</description></item><item><title>Where to add custom queries?</title><link>http://www.intersoftsolutions.com/Community/Crosslight/Where-to-add-custom-queries/</link><pubDate>Thu, 22 Jan 2015 20:29:19 GMT</pubDate><dc:creator>prog1</dc:creator><description>&lt;p&gt;I want to add some server side queries for my Enterprise Application.&lt;/p&gt;&lt;p&gt;Where should I add these queries? Would it be recommended to extend the repository or the controller?&lt;br&gt;&lt;/p&gt;</description></item></channel></rss>