Guest User

dwfdd

a guest
Feb 21st, 2016
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. using FluentNHibernate.Mapping;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7.  
  8. namespace SSS.Models
  9. {
  10. public class DbMappings
  11. {
  12. private DbMappings()
  13. {
  14. //Type cannot be initialized
  15. }
  16.  
  17. public class PlayerMMap : ClassMap<PlayerM>
  18. {
  19. public PlayerMMap()
  20. {
  21. Id(x => x.Id);
  22. Map(x => x.Nick);
  23. Map(x => x.Password);
  24. }
  25. }
  26. }
  27. }
Add Comment
Please, Sign In to add comment