Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Silverlight Binding
Message
De
26/08/2011 13:20:42
Bill Oeftering
Mainstreet Computers, Inc.
Belleville, Michigan, États-Unis
 
 
À
22/08/2011 14:53:33
Timothy Bryan
Sharpline Consultants
Conroe, Texas, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01521497
Message ID:
01521929
Vues:
26
The entity is null after calling GetAllEntities but this code works:
public Stores()
        {
            InitializeComponent();

            this.Title = ApplicationStrings.StorePageTitle;
            this.StoreController.GetAllEntities(delegate(object s, EventArgs e)
            {
               this.StoreController.Entity = this.StoreController.EntityList.FirstOrDefault();
                this.DataContext = this.StoreController.Entity;
            });
        }
Now that I have that working I tought I'd try saving the entity. It does not update the table. I trace all the code and it sees the modified entity but the viewing the WCF calls with Fiddler shows no update is being called. No errors either. I can't step into this:
function:public virtual void SaveEntityAsync(EntityType entity, EventHandler callBack, object userState)
...
--> SubmitOperation submitOp = this.TempDomainContext.SubmitChanges(OnSaveEntityCompleted, userState);
so I don't know how to troubleshoot. Any advise on how to find the problem will be appeciated.
Thanks
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform