25 lines
817 B
C#
25 lines
817 B
C#
namespace ULA.Cathay.CreditoModel.History
|
|
{
|
|
using System;
|
|
using System.Data.Entity;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using System.Linq;
|
|
|
|
public partial class HistoryContex : DbContext
|
|
{
|
|
public HistoryContex()
|
|
: base(new Ultimus.Utilitarios.ObtieneParametros().GetValueKeyRegedit("UltimusHistory", true))
|
|
{
|
|
Configuration.ProxyCreationEnabled = false;
|
|
Configuration.LazyLoadingEnabled = true;
|
|
Database.SetInitializer<HistoryContex>(null);
|
|
}
|
|
|
|
public virtual DbSet<history_incident> history_incident { get; set; }
|
|
public virtual DbSet<history_task> history_task { get; set; }
|
|
|
|
protected override void OnModelCreating(DbModelBuilder modelBuilder)
|
|
{
|
|
}
|
|
}
|
|
}
|