Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Silverlight Binding
Message
From
26/08/2011 13:20:42
Bill Oeftering
Mainstreet Computers, Inc.
Belleville, Michigan, United States
 
 
To
22/08/2011 14:53:33
Timothy Bryan
Sharpline Consultants
Conroe, Texas, United States
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Environment versions
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01521497
Message ID:
01521929
Views:
27
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform