<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>RJP Software Blog</title>
	<atom:link href="http://www.rjp-software.co.uk/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.rjp-software.co.uk</link>
	<description>.Net info and code snippets</description>
	<lastBuildDate>Wed, 16 May 2012 11:12:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>WCF Self Hosted Named Pipe Endpoint</title>
		<link>http://www.rjp-software.co.uk/2012/05/15/wcf-self-hosted-named-pipe-endpoint/</link>
		<comments>http://www.rjp-software.co.uk/2012/05/15/wcf-self-hosted-named-pipe-endpoint/#comments</comments>
		<pubDate>Tue, 15 May 2012 15:55:06 +0000</pubDate>
		<dc:creator>Rich</dc:creator>
				<category><![CDATA[WCF]]></category>

		<guid isPermaLink="false">http://www.rjp-software.co.uk/?p=264</guid>
		<description><![CDATA[From time to time I find the need to knock up a self hosted WCF service with a named pipe endpoint. I will shortly put up some smaple code, but until then, her is an article that does a pretty good job of explaining what to do. WCF Console App With Named Pipe Endpoint]]></description>
		<wfw:commentRss>http://www.rjp-software.co.uk/2012/05/15/wcf-self-hosted-named-pipe-endpoint/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>NHibernate &#8211; Using the second level cache</title>
		<link>http://www.rjp-software.co.uk/2012/05/02/using-the-second-level-cache/</link>
		<comments>http://www.rjp-software.co.uk/2012/05/02/using-the-second-level-cache/#comments</comments>
		<pubDate>Wed, 02 May 2012 15:55:12 +0000</pubDate>
		<dc:creator>Rich</dc:creator>
				<category><![CDATA[NHibernate]]></category>

		<guid isPermaLink="false">http://www.rjp-software.co.uk/?p=259</guid>
		<description><![CDATA[Setting up the 2nd level cache in NHibernate is fairly straight forward. Take a look at this link for some easy to follow instructions: Quickly Setting Up And Using NHibernate&#8217;s Second Level Cache Also check this out: Using SysCache as secondary cache in NHibernate Its not for every query but can provide a significant performance [...]]]></description>
		<wfw:commentRss>http://www.rjp-software.co.uk/2012/05/02/using-the-second-level-cache/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>NHibernate &#8211; Readonly / ETL type Processes</title>
		<link>http://www.rjp-software.co.uk/2012/03/06/nhibernate-readonly-etl-type-processes/</link>
		<comments>http://www.rjp-software.co.uk/2012/03/06/nhibernate-readonly-etl-type-processes/#comments</comments>
		<pubDate>Tue, 06 Mar 2012 16:27:25 +0000</pubDate>
		<dc:creator>Rich</dc:creator>
				<category><![CDATA[NHibernate]]></category>

		<guid isPermaLink="false">http://www.rjp-software.co.uk/?p=249</guid>
		<description><![CDATA[Most of NHibernate&#8217;s value is in its ability to manage a domain model and seamlessly send changes to the database. However, it can be used for Readonly and ETL scenarios (caveat: there may be better alternatives for these use cases). If you decide you would like to use NH in this way then I recommend [...]]]></description>
		<wfw:commentRss>http://www.rjp-software.co.uk/2012/03/06/nhibernate-readonly-etl-type-processes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>NHibernate &#8211; Calling Stored Procs</title>
		<link>http://www.rjp-software.co.uk/2012/02/27/nhibernate-calling-stored-procs/</link>
		<comments>http://www.rjp-software.co.uk/2012/02/27/nhibernate-calling-stored-procs/#comments</comments>
		<pubDate>Mon, 27 Feb 2012 14:26:58 +0000</pubDate>
		<dc:creator>Rich</dc:creator>
				<category><![CDATA[NHibernate]]></category>

		<guid isPermaLink="false">http://www.rjp-software.co.uk/?p=245</guid>
		<description><![CDATA[Although not something you normally want to do with an ORM layer such as NH, it is possible to call a stored proc. To do this use the following code: Session.GetNamedQuery("usp_MySproc") .SetParameter("Param1", myvariable1) .SetParameter("Param2", myVariable2) .SetResultTransformer( Transformers.AliasToBean(typeof(MyDowmainObject))) .List();]]></description>
		<wfw:commentRss>http://www.rjp-software.co.uk/2012/02/27/nhibernate-calling-stored-procs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SQL Script &#8211; Dropping Foreign Keys</title>
		<link>http://www.rjp-software.co.uk/2012/02/15/sql-script-dropping-foreign-keys/</link>
		<comments>http://www.rjp-software.co.uk/2012/02/15/sql-script-dropping-foreign-keys/#comments</comments>
		<pubDate>Wed, 15 Feb 2012 15:41:03 +0000</pubDate>
		<dc:creator>Rich</dc:creator>
				<category><![CDATA[SQL Server]]></category>

		<guid isPermaLink="false">http://www.rjp-software.co.uk/?p=238</guid>
		<description><![CDATA[I stumbled across the following script today which generates the SQL for dropping foreign keys: SELECT 'ALTER TABLE ' + OBJECT_NAME(parent_object_id) + ' DROP CONSTRAINT ' + name FROM sys.foreign_keys WHERE referenced_object_id in (object_id('TableName1'), object_id('TableName2'), object_id('TableName3'))]]></description>
		<wfw:commentRss>http://www.rjp-software.co.uk/2012/02/15/sql-script-dropping-foreign-keys/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nhibernate &#8211; List, Set or Bag for collection mappings?</title>
		<link>http://www.rjp-software.co.uk/2012/02/15/nhibernate-list-set-or-bag-for-collection-mappings/</link>
		<comments>http://www.rjp-software.co.uk/2012/02/15/nhibernate-list-set-or-bag-for-collection-mappings/#comments</comments>
		<pubDate>Wed, 15 Feb 2012 11:02:31 +0000</pubDate>
		<dc:creator>Rich</dc:creator>
				<category><![CDATA[NHibernate]]></category>

		<guid isPermaLink="false">http://www.rjp-software.co.uk/?p=230</guid>
		<description><![CDATA[I found a useful snippet on StackOverflow that clears this up&#8230; So, to quote: NHibernate semantics: List: Ordered collection of entities, duplicate allowed. Use a .net IList in code. The index column will need to be mapped in NHibernate. Set: Unordered collection of unique entities, duplicates not allowed. Use Iesi.Collection.ISet in code. It is important [...]]]></description>
		<wfw:commentRss>http://www.rjp-software.co.uk/2012/02/15/nhibernate-list-set-or-bag-for-collection-mappings/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>NHibernate 3.2 and SqlCE</title>
		<link>http://www.rjp-software.co.uk/2012/02/14/nhibernate-3-2-and-sql-ce/</link>
		<comments>http://www.rjp-software.co.uk/2012/02/14/nhibernate-3-2-and-sql-ce/#comments</comments>
		<pubDate>Tue, 14 Feb 2012 13:02:48 +0000</pubDate>
		<dc:creator>Rich</dc:creator>
				<category><![CDATA[NHibernate]]></category>

		<guid isPermaLink="false">http://www.rjp-software.co.uk/?p=201</guid>
		<description><![CDATA[I had some great fun configuring Nhibernate 3.2 with a Sql CE database today. As ever its easy when you know how! After an hour so so reading various blogs and dealing with some non illuminating NH error messages, I came up with a configuration that worked. So if you want to use NH with [...]]]></description>
		<wfw:commentRss>http://www.rjp-software.co.uk/2012/02/14/nhibernate-3-2-and-sql-ce/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>NHibernate 3.2 &#8220;Mapping By Code&#8221; Snippets</title>
		<link>http://www.rjp-software.co.uk/2012/02/10/nhibernate-3-2-mapping-by-code-snippets/</link>
		<comments>http://www.rjp-software.co.uk/2012/02/10/nhibernate-3-2-mapping-by-code-snippets/#comments</comments>
		<pubDate>Fri, 10 Feb 2012 16:45:12 +0000</pubDate>
		<dc:creator>Rich</dc:creator>
				<category><![CDATA[NHibernate]]></category>

		<guid isPermaLink="false">http://www.rjp-software.co.uk/?p=186</guid>
		<description><![CDATA[As I trawl through the vairous blogs piecing things together, I thought that I would put together a page with some code snippets for the new NH 3.2 mapping API. Class Mappings Mapping a basic entity public class Person { public virtual int PersonId { get; set; } public virtual string LastName { get; set; [...]]]></description>
		<wfw:commentRss>http://www.rjp-software.co.uk/2012/02/10/nhibernate-3-2-mapping-by-code-snippets/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Reading and Listing Embedded Files</title>
		<link>http://www.rjp-software.co.uk/2012/02/08/reading-and-listing-embedded-files/</link>
		<comments>http://www.rjp-software.co.uk/2012/02/08/reading-and-listing-embedded-files/#comments</comments>
		<pubDate>Wed, 08 Feb 2012 17:19:05 +0000</pubDate>
		<dc:creator>Rich</dc:creator>
				<category><![CDATA[Unit Testing]]></category>

		<guid isPermaLink="false">http://www.rjp-software.co.uk/?p=176</guid>
		<description><![CDATA[When writing unit tests I occasionally find the need to include embedded resources (mostly files &#8211; e.g. XML). This enables the tests to run anywhere without relying on a specific file structure. Each time I do this I seem to have to re-create the same test utility for managing these files so I thought I&#8217;d [...]]]></description>
		<wfw:commentRss>http://www.rjp-software.co.uk/2012/02/08/reading-and-listing-embedded-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>NHibernate &#8211; Set the Inverse on One To Many Relationships</title>
		<link>http://www.rjp-software.co.uk/2012/02/08/nhibernate-set-the-inverse-on-one-to-many-relationships/</link>
		<comments>http://www.rjp-software.co.uk/2012/02/08/nhibernate-set-the-inverse-on-one-to-many-relationships/#comments</comments>
		<pubDate>Wed, 08 Feb 2012 16:50:41 +0000</pubDate>
		<dc:creator>Rich</dc:creator>
				<category><![CDATA[NHibernate]]></category>

		<guid isPermaLink="false">http://www.rjp-software.co.uk/?p=168</guid>
		<description><![CDATA[Ayende has written an interesting blog on this here: Ayendes NHProf blog The salient point here is: Make sure that you specify inverse=&#8217;true&#8217; on the &#60;one-to-many&#62; collection association otherwise NH will issue 2 SQL statements for a single Update/Insert.]]></description>
		<wfw:commentRss>http://www.rjp-software.co.uk/2012/02/08/nhibernate-set-the-inverse-on-one-to-many-relationships/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

