Skip to content

Instantly share code, notes, and snippets.

@jagregory
Created July 25, 2010 22:46
Show Gist options
  • Save jagregory/489959 to your computer and use it in GitHub Desktop.
Save jagregory/489959 to your computer and use it in GitHub Desktop.
ValueTypeBuilder Map<TReturn>(Expression<Func<T, TReturn>> property)
where TReturn : ValueType
{
return new ValueTypeBuilder(property);
}
EntityBuilder Map<TReturn>(Expression<Func<T, TReturn>> property)
where TReturn : class
{
return new EntityBuilder(property);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment