Wrox Programmer Forums
|
BOOK: Silverlight 4 Problem - Design - Solution
This is the forum to discuss the Wrox book Silverlight 4 Problem - Design - Solution by Nick Lecrenski; ISBN: 9780470534045
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Silverlight 4 Problem - Design - Solution section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 8th, 2010, 12:45 PM
Authorized User
 
Join Date: Dec 2005
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Unhappy Entity does not support EDIT operation??

This EntitySet of type 'FitnessTrackerPlus.Web.Data.UserInformation' does not support the 'Edit' operation.

I get this here.

publicstring security_question
{
get
{
returnthis._security_question;
}
set
{
if ((this._security_question != value))
{
this.Onsecurity_questionChanging(value);
this.RaiseDataMemberChanging("security_question");
this.ValidateProperty("security_question", value);
this._security_question = value;
this.RaiseDataMemberChanged("security_question");
this.Onsecurity_questionChanged();
}
}
}
 
Old July 9th, 2010, 04:37 PM
Authorized User
 
Join Date: Dec 2005
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default

54 people read this..

can someone atleast confirm that profile editing works for them?

Also when I add a DOMAIN the Linq2Sql data source is not showing up in the dropdown.. thats weird.. maybe its related.

Im going to try to convert it all to Linq2Ent anyways.
 
Old October 6th, 2010, 07:15 PM
Authorized User
 
Join Date: Sep 2009
Posts: 34
Thanks: 4
Thanked 1 Time in 1 Post
Default

Hi,

1. I have the same problem. Did You solved them?

2. For the second question the answer is here:

LINQ to SQL Context not visible to Domain Service Class (P 114)

You have to download the RIA Services toolkit, because Microsoft moved the Linq2SQL to there, after book was released.

Gabor

Last edited by Gabor66; October 9th, 2010 at 11:56 AM..
 
Old October 14th, 2010, 11:25 AM
Authorized User
 
Join Date: Sep 2009
Posts: 34
Thanks: 4
Thanked 1 Time in 1 Post
Default

I copy here the author's answer:

Evidently the RIA Services has changed yet again! Now since we are using a custom membership provider that happens to make use of the UserInformationService we didn't need all of the CRUD methods on the service. Just some facade wrappers. However there was a breaking change in the latest RIA Services bits that requires these methods be declared otherwise the entity will not support updates.

If you add the code below to the UserInformationService everything should be working again.

[Delete]
public void DeleteExistingUser(UserInformation user)
{
throw new NotImplementedException("Not supported");
}

[Insert]
public void InsertNewUser(UserInformation user)
{
throw new NotImplementedException("Not supported");
}

[Update]
public void UpdateCurrentUser(UserInformation user)
{
throw new NotImplementedException("Not supported");
}





Similar Threads
Thread Thread Starter Forum Replies Last Post
Error-Object does not support doesn't support this bootsy Classic ASP Basics 1 May 25th, 2008 07:14 PM
Entity Conversion vengatatindia Word VBA 0 February 15th, 2008 05:52 AM
character entity into numeric character entity srkumar XSLT 1 November 22nd, 2007 04:53 AM
Sum up value of all entity ksafong XSLT 2 October 28th, 2006 03:47 AM
Difference between Entity and Entity type arshad mahmood C++ Programming 0 May 8th, 2004 12:34 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.