Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help with MM.NET and WCF
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
01314349
Message ID:
01316203
Vues:
26
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform