Skip to content

Instantly share code, notes, and snippets.

View pdegenhardt's full-sized avatar

Phil Degenhardt pdegenhardt

View GitHub Profile
@pdegenhardt
pdegenhardt / designer.html
Last active August 29, 2015 14:06
designer
<link href="../google-map/google-map.html" rel="import">
<link href="../cool-clock/cool-clock.html" rel="import">
<link href="../core-field/core-field.html" rel="import">
<link href="../core-icon/core-icon.html" rel="import">
<link href="../core-input/core-input.html" rel="import">
<link href="../core-icons/core-icons.html" rel="import">
<link href="../core-menu/core-submenu.html" rel="import">
<link href="../core-item/core-item.html" rel="import">
<polymer-element name="my-element">
@pdegenhardt
pdegenhardt / DictionaryProperties.cs
Last active December 14, 2015 19:49
Embedding dynamic properties in RavenDB documents
using System;
using System.Collections.Generic;
using System.Linq;
using Raven.Abstractions.Indexing;
using Raven.Client;
using Raven.Client.Document;
using Raven.Client.Indexes;
using Raven.Client.Linq;
namespace RavenDBConcepts
@pdegenhardt
pdegenhardt / Nullable Index Fields Issue
Created February 24, 2013 05:26
Illustrates issue in doing simple transform using nullable property.
static class NullableInIndex
{
public class Person
{
public string Name { get; set; }
public string NickName { get; set; }
public DateTime? Birthday { get; set; }
}
public class PersonQuery
@pdegenhardt
pdegenhardt / RavenDB-transform-issue.cs
Last active December 11, 2015 12:38
RavenDB Transform not able to access dictionary property
using System;
using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Raven.Client.Embedded;
using Raven.Client.Indexes;
using Raven.Client.Linq;
using Raven.Client;
using System.Linq;
using Raven.Abstractions.Indexing;