Please explain to me about "GetNewsFilterFromUrl" method.

Topics: General, Standard packages
Dec 9, 2010 at 10:31 AM
Edited Dec 12, 2010 at 11:18 AM

Please explain to me about two methods : C# function/Composite/News/GetNewsFilterFromUrl and C# function/Composite/GetPageNumber . Please give me code.


and I want to write a C# function to get all "NewsComment" objects but an error appear "Composite.Data.Foundation.DataFacadeQueryable`1[TestComment.Content.NewsComment]"


using System;
using System.Collections.Generic;
using System.Linq;
using System.Xml.Linq;
using Composite.Data;
using Composite.Data.Types;

namespace TestComment.Content
    	public static class InlineMethodFunction
    	    	public static IQueryable<NewsComment> GetNewsCommentFilter()
        		    	using (DataConnection connection = new DataConnection())
            			     var test = from l in connection.Get<NewsComment>()
            			                 select l;
            			     return test;








Thank you in advanced.