diff options
Diffstat (limited to 'Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Common/ProfissaoMap.cs')
| -rw-r--r-- | Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Common/ProfissaoMap.cs | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Common/ProfissaoMap.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Common/ProfissaoMap.cs deleted file mode 100644 index c42619d..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Common/ProfissaoMap.cs +++ /dev/null @@ -1,22 +0,0 @@ -using FluentNHibernate.Mapping;
-using Gestor.Infrastructure.Entities.Common;
-using Gestor.Infrastructure.Entities.Generic;
-using System;
-using System.Linq.Expressions;
-using System.Runtime.CompilerServices;
-
-namespace Gestor.Infrastructure.Mappings.Common
-{
- public class ProfissaoMap : ClassMap<ProfissaoDb>
- {
- public ProfissaoMap()
- {
- base.Table("profissao");
- base.LazyLoad();
- base.Id((ProfissaoDb x) => (object)x.Id).GeneratedBy.Assigned().Column("idprofissao");
- base.Map((ProfissaoDb x) => x.Codigo).Column("codigo");
- base.Map((ProfissaoDb x) => x.Nome).Column("nome");
- base.Map((ProfissaoDb x) => x.Aniversario).Column("dataaniversario");
- }
- }
-}
\ No newline at end of file |