public static TP2DatosLinQEntities GetContext() { if (context == null) { context = new TP2DatosLinQEntities(); } return(context); }
public Context() { context = new TP2DatosLinQEntities(); }
public Repository() { this.context = Context.GetContext(); }