Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help with MM.NET and WCF
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
01314349
Message ID:
01316203
Views:
24
Yassin,

>I was stepping through code I think the problem is in mmbusinessobject.cs
>
>
>                // Save the database key passed to this method in the dao's DatabaseKey
>				// property, save the database set key (if any)to the dao's DatabaseSetKey
>				// property, and store the associated connection string
>				dao.DatabaseKey = databaseKey;
>				dao.DatabaseSetKey = mmAppBase.DatabaseMgr.DatabaseSetKey;
>				if (mmAppBase.DefaultDataAccessMode == mmDataAccessMode.Local)
>				{
>					dao.ConnectionString = GetConnectionString(databaseKey);
>				}
>				dao.ParameterTranslation = this.ParameterTranslation;
>				dao.BusinessObject = this;
>
>
> I don't see mmAppBase.DefaultDataAccessMode == mmDataAccessMode.Local and may be that's why everything is failing.

Are you saying the value of mmAppBase.DefaultDataAccessMode is not equal to mmDataAccessMode.Local when stepping through the code?

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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform