Skip to content
This repository has been archived by the owner on Apr 19, 2023. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
henkmollema committed Jun 23, 2014
2 parents 79b0461 + dc4e4f3 commit af301f6
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,16 @@ public class ProductMap : EntityMap<Product>
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();
}
}
```

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 =>
{
Expand Down

0 comments on commit af301f6

Please sign in to comment.