TFS_ANTIGUO/PrendarioDavivienda/SlnDavivienda/ULA.Davivienda.PrendarioModel/Prendario/Partial/PrendarioContext.cs

22 lines
602 B
C#
Raw Permalink Normal View History

using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Ultimus.Utilitarios;
namespace ULA.Davivienda.PrendarioModel.Prendario
{
public partial class PrendarioContext : DbContext
{
public PrendarioContext()
: base(new ObtieneParametros().GetValueKeyRegedit("BPMPRENDARIO", true))
{
Configuration.ProxyCreationEnabled = false;
Configuration.LazyLoadingEnabled = true;
Database.SetInitializer<PrendarioContext>(null);
}
}
}