Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class DealMapping : ClassMap<Deal>
- {
- public DealMapping()
- {
- Table("Specials"); // Maps Deal entities to a table 'Specials'
- Id(x => x.ID).GeneratedBy.Assigned();
- Map(x => x.DealName);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement