you can put a property without a proxy? because I need to get the value of it. Below is the mapping:
public class MateriaPrimaMap : ClassMap<MateriaPrima> {
#region Construtor
public MateriaPrimaMap() {
Table("MATERIAPRIMA");
Id(m => m.Id).Column("MPR_CD");
Map(m => m.Descricao)
.Column("MPR_DS")
.Not.Nullable().Length(30);
Map(m => m.Ativo)
.Column("MPR_ATIVO")
.Not.Nullable();
Version(m => m.Version).Column("MPR_DT_LK").Generated.Always();
}
#endregion
}}