<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.2.2" -->
<rss version="0.92">
<channel>
	<title>Rizal Almashoor's Blog</title>
	<link>http://www.rizalalmashoor.com/blog</link>
	<description>Valid use of Null</description>
	<lastBuildDate>Tue, 17 Jan 2012 08:31:16 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	
	<item>
		<title>Calling an Oracle function using NHibernate</title>
		<description>
Tested with NHibernate 2.1.2 and Oracle 11g.
Needs Oracle.DataAccess (not System.Data.OracleClient). Tested with Oracle.DataAccess 2.111.6.0 AMD64.
If your Oracle function returns a scalar value of datatype number, the .NET object will be a Decimal.


NHibernate config:


&#60;hibernate-configuration xmlns="urn:nhibernate-configuration-2.2"&#62;
  &#60;session-factory&#62;
    &#60;property name="connection.driver_class"&#62;
      NHibernate.Driver.OracleDataClientDriver
    ...</description>
		<link>http://www.rizalalmashoor.com/blog/calling-an-oracle-function-using-nhibernate/</link>
			</item>
	<item>
		<title>Calling an Oracle stored procedure using NHibernate</title>
		<description>
The stored procedure must have an out sys_refcursor parameter as the first argument.
Tested with NHibernate 2.1.2 and Oracle 11g.
Needs Oracle.DataAccess (not System.Data.OracleClient). Tested with Oracle.DataAccess 2.111.6.0 AMD64.


NHibernate config:


&#60;hibernate-configuration xmlns="urn:nhibernate-configuration-2.2"&#62;
  &#60;session-factory&#62;
    &#60;property name="connection.driver_class"&#62;
      NHibernate.Driver.OracleDataClientDriver
    &#60;/property&#62;
  &#60;/session-factory&#62;
&#60;/hibernate-configuration&#62;


NHibernate mapping:


&#60;hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" ...</description>
		<link>http://www.rizalalmashoor.com/blog/calling-an-oracle-stored-procedure-using-nhibernate/</link>
			</item>
	<item>
		<title>LINQPad &#8211; a worthy successor to Snippet Compiler</title>
		<description>In 2009 I blogged about how Snippet Compiler allows us to test out C# code without having to create a project in Visual Studio just for that. Now there's something better: LINQPad. Don't be misled by its name; it's not just for LINQ, it can run any C#, VB, or ...</description>
		<link>http://www.rizalalmashoor.com/blog/linqpad-a-worthy-successor-to-snippet-compiler/</link>
			</item>
	<item>
		<title>Problem with Transactions on Windows 64-bit Oracle Client</title>
		<description>After upgrading to a 64-bit machine at the office, my Visual Studio 2010 unit tests that were making heavy use of transactions (i.e., hundreds of uncommitted database table insertions within a using (new TransactionScope()) statement) failed with the following error message:

ORA-00603: ORACLE server session terminated by fatal error
ORA-00600: internal error ...</description>
		<link>http://www.rizalalmashoor.com/blog/problem-with-transactions-on-windows-64-bit-oracle-client/</link>
			</item>
	<item>
		<title>Robocopy in lieu of rsync</title>
		<description>Perhaps you’re a web developer familiar with Linux and SVN. Then you’ll definitely know how to copy files from your SVN working directory to a test server whilst excluding all .svn directories:

rsync -IrW --stats --exclude=.svn /path/to/project/dir/ //testsrv/whatever

If for some reason your development environment is Windows you might be tempted to ...</description>
		<link>http://www.rizalalmashoor.com/blog/robocopy-in-lieu-of-rsync/</link>
			</item>
	<item>
		<title>Memories of the past</title>
		<description>The past doesn't exist, except in our minds. There is not one past, but many pasts, each belonging to a different person.

If not for memory, there would be no such thing as the past. It is literally all in the mind.

Easy enough to comprehend, but extremely difficult to internalize. </description>
		<link>http://www.rizalalmashoor.com/blog/memories-of-the-past/</link>
			</item>
	<item>
		<title>A fundamentally flawed argument</title>
		<description>I believe that everyone has at least one fundamental flaw. Those who think they aren't fundamentally flawed turn out to have three fundamental flaws: first, their fundamental flaw; second, their ignorance of their fundamental flaw; and third, their belief that they are free of fundamental flaws.

The least fundamentally flawed are ...</description>
		<link>http://www.rizalalmashoor.com/blog/a-fundamentally-flawed-argument/</link>
			</item>
	<item>
		<title>Implementing the right-click context menu in Silverlight 4</title>
		<description>
    Download and install Silverlight 4 Toolkit - April 2010.
    In your Silverlight 4 project, add references to:
        System.Windows.Controls
        System.Windows.Controls.Input.Toolkit
    In your UserControl XAML, add the following ...</description>
		<link>http://www.rizalalmashoor.com/blog/implementing-the-right-click-context-menu-in-silverlight-4/</link>
			</item>
	<item>
		<title>Mastering Agile Management using Scrum</title>
		<description>This week I attended a workshop on Mastering Agile Management using Scrum. The trainer was Jesse Fewell (rhymes with "jewel") from RippleRock.

First, the verdict. This training course is about concepts; it can easily become academic and lofty-sounding if the trainer simply goes through the slides and recites his lecture notes. ...</description>
		<link>http://www.rizalalmashoor.com/blog/mastering-agile-management-using-scrum/</link>
			</item>
	<item>
		<title>LINQ to Entities: Deferred Execution and Lazy Loading</title>
		<description>How do deferred execution and lazy loading work in LINQ to Entities (Entity Framework)? Let's find out!

First, some sample data. We don't want to make it too simple, so let's have three entities:


Employee, who belongs to a Department
Department, which is under a Functional Group
Functional Group


The data:

Functional Groups


    ...</description>
		<link>http://www.rizalalmashoor.com/blog/linq-to-entities-deferred-execution-and-lazy-loading/</link>
			</item>
</channel>
</rss>

