public List <PlugLocation> LoadByPlugId(int plugId) { using (PlugLocationFactory factory = PlugLocationFactory.GetInstance()) { factory.Context = this.FactoryContext; return(factory.InternalLoadByPlugId(plugId)); } }