public void GetConsumer() { IApplicationContext ctx = ContextRegistry.GetContext(); IBLL.Owner.ConsumerIbo ibo = (IBLL.Owner.ConsumerIbo)ctx.GetObject("ConsumerBo"); ibo.GetConsumerList(); }