From dc4e4f3b081ec49e00eaa4daa07fc6dbf03f0ec3 Mon Sep 17 00:00:00 2001 From: Henk Mollema Date: Sat, 21 Jun 2014 17:30:15 +0200 Subject: [PATCH] Update README.md --- README.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 1f1387b..5ef8976 100644 --- a/README.md +++ b/README.md @@ -25,10 +25,6 @@ public class ProductMap : EntityMap Map(p => p.Name) .ToColumn("strName"); - // Map property 'Description' to 'strdescription', ignoring casing. - Map(p => p.Description) - .ToColumn("strdescription", caseSensitive: false); - // Ignore the 'LastModified' property when mapping. Map(p => p.LastModified) .Ignore(); @@ -36,7 +32,9 @@ public class ProductMap : EntityMap } ``` -Initialization: +Column names are mapped case sensitive by default. You can change this by specifying the `caseSensitive` parameter in the `ToColumn()` method: `Map(p => p.Name).ToColumn("strName", caseSensitive: false)`. + +**Initialization:** ```csharp FluentMapper.Intialize(config => {