Created
November 23, 2011 13:40
-
-
Save bernardobrezende/1388686 to your computer and use it in GitHub Desktop.
Mapeamentos do GIST #1388679
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class PessoaMap : ClassMap<Pessoa> | |
{ | |
public PessoaMap() | |
{ | |
Id(x => x.Id); | |
Map(x => x.Nome); | |
Map(x => x.Email); | |
} | |
} | |
public class LoginMap : SubclassMap<Login> | |
{ | |
public LoginMap() | |
{ | |
Map(x => x.Senha); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment