Ejemplo n.º 1
0
        public static TP2DatosLinQEntities GetContext()
        {
            if (context == null)
            {
                context = new TP2DatosLinQEntities();
            }

            return(context);
        }
Ejemplo n.º 2
0
 public Context()
 {
     context = new TP2DatosLinQEntities();
 }
Ejemplo n.º 3
0
 public Repository()
 {
     this.context = Context.GetContext();
 }