/// <summary> /// Public Constructor,initializes privately declared local variables. /// </summary> /// <param name="context"></param> public PricatsEmpresaCustomRepository() { this.ContextTrazabilidad = new CABASNET_TRAZABILIDADEntities(); this.DbSetTrazabilidad = ContextTrazabilidad.Set <PRICATS_X_EMPRESA>(); this.ContextPPAL = new CABASNET_PPAL_CO_V1_0Entities(); this.DbSetPPAL = ContextPPAL.Set <EMPRESA>(); }
/// <summary> /// Public Constructor,initializes privately declared local variables. /// </summary> /// <param name="context"></param> public GenericRepositoryTrazabilidad(CABASNET_TRAZABILIDADEntities contextTrazabilidad) { this.ContextTrazabilidad = contextTrazabilidad; this.DbSetTrazabilidad = contextTrazabilidad.Set <TEntity>(); }