Skip to content

Commit

Permalink
changed the test to reflect actual usage.
Browse files Browse the repository at this point in the history
  • Loading branch information
craiggwilson committed Jun 18, 2010
1 parent 053839b commit f531164
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -11,6 +11,8 @@ private class Person
{
public Guid Id { get; set; }

public int Age { get; set; }

public string Name { get; set; }
}

Expand All @@ -35,7 +37,7 @@ public void Test()
mapping.Map<Person>(m =>
{
m.CollectionName("people");
m.Member(x => x.Id).Alias("_id");
m.Member(x => x.Age).Alias("age");
m.Member(x => x.Name).Alias("name").DefaultValue("something").Ignore();
});
});
Expand Down

0 comments on commit f531164

Please sign in to comment.