Yassin,
>I am sorry I missed typed. I meant I don’t see mmAppBase.DefaultDataAccessMode == mmDataAccessMode.wcf and may be that's why I am getting
>
>"The ConnectionString property has not been initialized”
>
>When you examine the property of connectionstring on the mmbusinessobject it is set to null when mmDataAccessMode is set to wcf.
Gotcha...that code is actually correct. Can you send me a stack trace at the point where you are hitting this code in mmBusinessObject.GetDataAccessObject()?
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