Пример #1
0
        public static TP2DatosLinQEntities GetContext()
        {
            if (context == null)
            {
                context = new TP2DatosLinQEntities();
            }

            return(context);
        }
Пример #2
0
 public Context()
 {
     context = new TP2DatosLinQEntities();
 }
Пример #3
0
 public Repository()
 {
     this.context = Context.GetContext();
 }