Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using FluentNHibernate.Mapping;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace SSS.Models
- {
- public class DbMappings
- {
- private DbMappings()
- {
- //Type cannot be initialized
- }
- public class PlayerMMap : ClassMap<PlayerM>
- {
- public PlayerMMap()
- {
- Id(x => x.Id);
- Map(x => x.Nick);
- Map(x => x.Password);
- }
- }
- }
- }
Add Comment
Please, Sign In to add comment