summaryrefslogtreecommitdiff
path: root/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Ferramentas/AgendaMap.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Ferramentas/AgendaMap.cs')
-rw-r--r--Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Ferramentas/AgendaMap.cs28
1 files changed, 0 insertions, 28 deletions
diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Ferramentas/AgendaMap.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Ferramentas/AgendaMap.cs
deleted file mode 100644
index e70b806..0000000
--- a/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Ferramentas/AgendaMap.cs
+++ /dev/null
@@ -1,28 +0,0 @@
-using FluentNHibernate.Mapping;
-using Gestor.Infrastructure.Entities.Ferramentas;
-using Gestor.Infrastructure.Entities.Generic;
-using System;
-using System.Linq.Expressions;
-using System.Runtime.CompilerServices;
-
-namespace Gestor.Infrastructure.Mappings.Ferramentas
-{
- public class AgendaMap : ClassMap<AgendaDb>
- {
- public AgendaMap()
- {
- base.Table("agenda");
- base.LazyLoad();
- base.Id((AgendaDb x) => (object)x.Id).GeneratedBy.Identity().Column("idagenda");
- base.Map((AgendaDb x) => x.Nome).Column("nome").Not.Nullable();
- base.Map((AgendaDb x) => x.Endereco).Column("endereco");
- base.Map((AgendaDb x) => x.Cep).Column("cep");
- base.Map((AgendaDb x) => x.Numero).Column("numero");
- base.Map((AgendaDb x) => x.Complemento).Column("complemento");
- base.Map((AgendaDb x) => x.Bairro).Column("bairro");
- base.Map((AgendaDb x) => x.Cidade).Column("cidade");
- base.Map((AgendaDb x) => x.Estado).Column("estado");
- base.Map((AgendaDb x) => x.Observacao).Column("observacao").CustomType("StringClob").CustomSqlType("varchar(MAX)");
- }
- }
-} \ No newline at end of file