How To Set the CanAdd Attribute of a RIA Service Context?


althought can determined state of attribute is from context.canadd method, do i set it?

is it set when added domain service?

without rebuilding service can set in code?

what telling me other can't add items table? can see useful validation datasets. 

marc 

the canadd attribute appears set "compiler?" presence of insert | add | create prefixed method or addition of the [insert] adornment to a method for domain service class. appears canupdate , canremove set. see ria services overview on page 56 further details.

marc

ps. in case issue misspelled class name using separate files partial classes isolate changes , overrides wizard generated code, therefore insert method intent missing.



Silverlight  >  WCF RIA Services with Silverlight



Comments

Popular posts from this blog

Azure DocumentDB Owner resource does not exist

job syspolicy_purge_history job fail in sqlserver 2008

Trying to register with public marketplace error with 'Get-AzureStackStampInformation'