diff options
Diffstat (limited to 'Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Common/ControleArquivoDigitalMap.cs')
| -rw-r--r-- | Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Common/ControleArquivoDigitalMap.cs | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Common/ControleArquivoDigitalMap.cs b/Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Common/ControleArquivoDigitalMap.cs new file mode 100644 index 0000000..f65b72f --- /dev/null +++ b/Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Common/ControleArquivoDigitalMap.cs @@ -0,0 +1,21 @@ +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 ControleArquivoDigitalMap : ClassMap<ControleArquivoDigitalDb>
+ {
+ public ControleArquivoDigitalMap()
+ {
+ base.Table("controledbad");
+ base.LazyLoad();
+ base.Id((ControleArquivoDigitalDb x) => (object)x.Id).GeneratedBy.Identity().Column("idcontroledbad");
+ base.Map((ControleArquivoDigitalDb x) => x.Catalogo).Column("bdname");
+ base.Map((ControleArquivoDigitalDb x) => x.Tabela).Column("tabela");
+ }
+ }
+}
\ No newline at end of file |