Yassin,
>1.Why do you need .NewEntity()?
>2.Also how do you update the entity?
You need to call HewEntity() because when you first instantiate the business object there isn't an entity present.
To update just call SaveEntity()
Best Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com