예제 #1
0
파일: Consumer.cs 프로젝트: pazhe/JiazheWeb
        public void UpdateConsumer()
        {
            IApplicationContext ctx = ContextRegistry.GetContext();

            IBLL.Owner.ConsumerIbo ibo      = (IBLL.Owner.ConsumerIbo)ctx.GetObject("ConsumerBo");
            Entity.Owner.Consumer  consumer = new Entity.Owner.Consumer();
            consumer.CId       = 2;
            consumer.LevelId   = 1;
            consumer.CName     = "wanghewei";
            consumer.CPassword = "******";
            ibo.UpdateConsumer(consumer);
        }