REQUEST A DEMO

Syntax Highlighter

This is a sample post using Alex’s very nice looking Syntax Highlighter for code snippets. Let’s see if I can get Community Server to behave.

Teaser Code

public class SolutionMap : DovetailMap
{
	protected override void MapDefinition()
	{
		FromTable("probdesc")
			.Assign(d => d.SolutionID).FromIdentifyingField("id_number")
			.MapMany().To(d => d.Resolutions).ViaRelation("probdesc2workaround", workaround => workaround
				.Assign(d => d.DatabaseIdentifier).FromField("objid")
			);
	}
}

Update: Looks like I got it working. Sorry about the guinea pig post. The code above is actually something I have been wanting to post about for some time. Maybe now with these super sweet code blocks I’ll get’er done.