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