<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Disqus - Latest Comments for Subnus</title><link>http://disqus.com/by/Subnus/</link><description></description><atom:link href="http://disqus.com/Subnus/comments.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Thu, 18 Dec 2008 15:42:28 -0000</lastBuildDate><item><title>Re: Oxite Refactor, Take 1 : Rob Conery</title><link>http://blog.wekeroad.com/blog/oxite-refactor-take-1/#comment-4488022</link><description>&lt;p&gt;it still does not work&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Subnus</dc:creator><pubDate>Thu, 18 Dec 2008 15:42:28 -0000</pubDate></item><item><title>Re: SubSonic 3: Alpha Is Ready : Rob Conery</title><link>http://blog.wekeroad.com/blog/subsonic-3-alpha-is-ready/#comment-4312666</link><description>&lt;p&gt;i have made the change would you like the files ??&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Subnus</dc:creator><pubDate>Wed, 10 Dec 2008 13:35:41 -0000</pubDate></item><item><title>Re: SubSonic 3.0 Preview 2 : Rob Conery</title><link>http://blog.wekeroad.com/blog/subsonic-3-0-preview-2/#comment-3771071</link><description>&lt;p&gt;okay my problem is that i passe albumid i a method and then i does not work&lt;/p&gt;&lt;p&gt;	class Program&lt;br&gt;	{&lt;br&gt;		static void Main(string[] args)&lt;br&gt;		{&lt;br&gt;			var result = GetAlbumById(1);&lt;/p&gt;&lt;p&gt;			foreach (var item in result)&lt;br&gt;			{&lt;br&gt;				Console.WriteLine(item.Title);&lt;br&gt;			}&lt;br&gt;		}&lt;/p&gt;&lt;p&gt;		public static IQueryable&amp;lt;album&amp;gt; GetAlbumById(int id)&lt;br&gt;		{&lt;br&gt;			var db = new DB();&lt;br&gt;			var query = from a in db.Album&lt;br&gt;						where a.AlbumId == id&lt;br&gt;						select a;&lt;br&gt;			return query;&lt;br&gt;		}&lt;br&gt;	} does not work i get at error in the foreach loop because it is at method i cant make the id a const&lt;/p&gt;&lt;p&gt;this is with the new tast database Chinook  &lt;a href="http://blog.wekeroad.com/blog/subsonic-3-0-repository-template-update/" rel="nofollow noopener" target="_blank" title="http://blog.wekeroad.com/blog/subsonic-3-0-repository-template-update/"&gt;http://blog.wekeroad.com/bl...&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Subnus</dc:creator><pubDate>Fri, 14 Nov 2008 10:02:48 -0000</pubDate></item><item><title>Re: SubSonic 3.0 Preview 2 : Rob Conery</title><link>http://blog.wekeroad.com/blog/subsonic-3-0-preview-2/#comment-3769145</link><description>&lt;p&gt;i think there is a problem with subsonic&lt;/p&gt;&lt;p&gt;int albumid = 1;&lt;br&gt;			var db = new Chinook.DB();&lt;br&gt;			var query = from a in db.Album&lt;br&gt;						where a.AlbumId == albumid&lt;br&gt;						select a;&lt;/p&gt;&lt;p&gt;			foreach (var item in query)&lt;br&gt;			{&lt;br&gt;				Console.WriteLine(item.Title);&lt;br&gt;			}&lt;br&gt;			Console.ReadLine();&lt;/p&gt;&lt;p&gt;does not work but&lt;/p&gt;&lt;p&gt;			var db = new Chinook.DB();&lt;br&gt;			var query = from a in db.Album&lt;br&gt;						where a.AlbumId == 1&lt;br&gt;						select a;&lt;/p&gt;&lt;p&gt;			foreach (var item in query)&lt;br&gt;			{&lt;br&gt;				Console.WriteLine(item.Title);&lt;br&gt;			}&lt;br&gt;			Console.ReadLine();&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Subnus</dc:creator><pubDate>Fri, 14 Nov 2008 07:31:00 -0000</pubDate></item><item><title>Re: SubSonic 3.0 Preview 2 : Rob Conery</title><link>http://blog.wekeroad.com/blog/subsonic-3-0-preview-2/#comment-3763802</link><description>&lt;p&gt;i have try with&lt;/p&gt;&lt;p&gt;var categories = from cat in db.Categories&lt;br&gt;								 select new Subnus.MVC.Data.SubnusMVC.Categories&lt;br&gt;								 {&lt;br&gt;									Name = cat.Name,&lt;br&gt;									CategoryId = cat.CategoryId&lt;br&gt;								 };&lt;/p&gt;&lt;p&gt;			var postCategoryMap = from pcm in db.Post_Category_Map&lt;br&gt;								  select new Subnus.MVC.Data.SubnusMVC.Post_Category_Map&lt;br&gt;								  {&lt;br&gt;									  CategoryId = pcm.CategoryId,&lt;br&gt;									  PostId = pcm.PostId&lt;br&gt;								  };&lt;/p&gt;&lt;p&gt;			var result =  from category in categories&lt;br&gt;						  join postcat in postCategoryMap on category.CategoryId equals postcat.CategoryId&lt;br&gt;							 where postcat.PostId == postId&lt;br&gt;							 orderby category.Name&lt;br&gt;							 select new &lt;br&gt;							 {&lt;br&gt;								 CategoryId = category.CategoryId,&lt;br&gt;								 Name = category.Name&lt;br&gt;							 };&lt;br&gt;	foreach (var item in result)&lt;br&gt;			{&lt;br&gt;				System.Diagnostics.Debug.Write(item.Name);&lt;br&gt;			}&lt;/p&gt;&lt;p&gt;but i get a error the forach loop&lt;/p&gt;&lt;p&gt;do you have links to where i can learn linq&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Subnus</dc:creator><pubDate>Thu, 13 Nov 2008 20:15:02 -0000</pubDate></item><item><title>Re: SubSonic 3.0 Preview 2 : Rob Conery</title><link>http://blog.wekeroad.com/blog/subsonic-3-0-preview-2/#comment-3763367</link><description>&lt;p&gt;can you give a example of joining and grouping with SubSonic can't get it to work&lt;/p&gt;&lt;p&gt;the sql I am trying to create is&lt;/p&gt;&lt;p&gt;select cat.CategoryId ,cat.Name&lt;br&gt;from SubnusMVC.Categories as cat&lt;br&gt;join SubnusMVC.Post_Category_Map as pcm on cat.CategoryId = pcm.CategoryId&lt;br&gt;where pcm.Postid =1&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Subnus</dc:creator><pubDate>Thu, 13 Nov 2008 19:42:18 -0000</pubDate></item><item><title>Re: SubSonic 3.0 Preview 2 : Rob Conery</title><link>http://blog.wekeroad.com/blog/subsonic-3-0-preview-2/#comment-3760281</link><description>&lt;p&gt;found the problem a error 40 I have never used Linq before so got it wrong sould have been&lt;/p&gt;&lt;p&gt;public IQueryable&amp;lt;post&amp;gt; GetAllPosts()&lt;br&gt;		{&lt;br&gt;			var posts = from p in db.Posts&lt;br&gt;						select new Post&lt;br&gt;						{&lt;br&gt;							PostId = p.PostId,&lt;br&gt;							Body = p.body,&lt;br&gt;							CreatedBy = p.CreatedBy,&lt;br&gt;							CreatedOn = p.CreatedOn,&lt;br&gt;							Guid = p.Guid,&lt;br&gt;							IsPublic = p.IsPublic,&lt;br&gt;							IsDeleted = p.IsDeleted&lt;br&gt;						};&lt;/p&gt;&lt;p&gt;			return posts;&lt;br&gt;		}&lt;/p&gt;&lt;p&gt;I thing I need to reed the book on my shelf "Linq in action" :) &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Subnus</dc:creator><pubDate>Thu, 13 Nov 2008 16:18:07 -0000</pubDate></item><item><title>Re: SubSonic 3.0 Preview 2 : Rob Conery</title><link>http://blog.wekeroad.com/blog/subsonic-3-0-preview-2/#comment-3760149</link><description>&lt;p&gt;no subsonic 3 create the classes.cs file with all men tables in it i just want to use my own model just like you i the mvc storefront&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Subnus</dc:creator><pubDate>Thu, 13 Nov 2008 16:09:06 -0000</pubDate></item><item><title>Re: SubSonic 3.0 Preview 2 : Rob Conery</title><link>http://blog.wekeroad.com/blog/subsonic-3-0-preview-2/#comment-3758828</link><description>&lt;p&gt;i try using this&lt;/p&gt;&lt;p&gt;public IQueryable&amp;lt;post&amp;gt; GetAllPosts()&lt;br&gt;		{&lt;br&gt;			var posts = from p in db.GetQuery&amp;lt;&lt;a href="http://subnus.mvc.data.model.post" rel="nofollow noopener" target="_blank" title="subnus.mvc.data.model.post"&gt;subnus.mvc.data.model.post&lt;/a&gt;&amp;gt;()&lt;br&gt;						select p;&lt;/p&gt;&lt;p&gt;			return posts;&lt;br&gt;		}&lt;br&gt;but got a sql error that i does not know object post how can i make it work so know the table name is posts&lt;/p&gt;&lt;p&gt;the generated code is in namspace Subnus.MVC.Data.SubnusMVC  if that helps&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Subnus</dc:creator><pubDate>Thu, 13 Nov 2008 14:59:41 -0000</pubDate></item><item><title>Re: SubSonic 3.0 Preview 2 : Rob Conery</title><link>http://blog.wekeroad.com/blog/subsonic-3-0-preview-2/#comment-3744048</link><description>&lt;p&gt;hey rob can you maybe update or create a new tutorial like &lt;a href="http://subsonicproject.com/2-1-pakala/subsonic-writing-decoupled-testable-code-with-subsonic-2-1/" rel="nofollow noopener" target="_blank" title="http://subsonicproject.com/2-1-pakala/subsonic-writing-decoupled-testable-code-with-subsonic-2-1/"&gt;http://subsonicproject.com/...&lt;/a&gt; with then new subsonic 3.0 preview 2 or can't subsonic 3.0 not use own defined classes&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Subnus</dc:creator><pubDate>Thu, 13 Nov 2008 11:55:25 -0000</pubDate></item><item><title>Re: SubSonic 3.0 Preview 1: Linq Has Landed : Rob Conery</title><link>http://blog.wekeroad.com/blog/subsonic-3-0-preview-1-linq-has-landed/#comment-3621360</link><description>&lt;p&gt;i would be nice to set the namespace in &lt;a href="http://connection.tt" rel="nofollow noopener" target="_blank" title="connection.tt"&gt;connection.tt&lt;/a&gt; and have it  apply in the other .tt files&lt;/p&gt;&lt;p&gt;because i don't / can't name me provider ( subnus ) the same as my namespace ( Subnus.MVC.Data )&lt;/p&gt;&lt;p&gt;if i do visual studio crash&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Subnus</dc:creator><pubDate>Sat, 08 Nov 2008 07:28:45 -0000</pubDate></item></channel></rss>