22 lines
602 B
C#
22 lines
602 B
C#
|
|
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);
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|