Advanced Forum Search Results
-
The new version does not allow [Invoke] operation to return entity types anymore.
-
Open your ...Web.g.cs file and set a breakpoint in the setter of your Term property. You should be able to find out what value is being set when it throws.
-
[quote user="Ziade"]
How would I make it so that on the Selection_Changed the value that was selected appears in a text box on the dataform?
[/quote]
What behavior did you see?
Oh, forgot to mention, you need to set the binding mode to be TwoWay.
<ComboBox x:Name="Term" ...
-
Resources files are not generated to the client. So, I guess you have to include it in your client project as well.
-
[quote user="StephenClarke"]
[quote user="xusun"]1. You may hook the OnCreated partial method to create a new child entity. OnCreated is always called in the default constructor of generated Entity types.[/quote]
Thanks, that's exactly what I was hoping to find. Where exactly do I place the ...
-
1. You may hook the OnCreated partial method to create a new child entity. OnCreated is always called in the default constructor of generated Entity types.
2. With Composition, thi is not required any more.
Composition is indeed designed for this scenario. Mathew has posted a blog regarding Composition which might ...
-
How about you set the selected item of the ComboBox to your Term (or whatever in your data model that it maps to)?
<ComboBox x:Name="Term" SelectionChanged="Term_Selected" SelectedItem="{Binding Term}">
....
What's the type of the Term in your datamodel?
-
I normally create a StaticResource that expose an EntitySet<MyEntity> and bind the ComboBox.ItemsSource to it, so that users can select from a list that I specified. Then, I bind the SelectedItem to MyEntity property of the CurrentItem that the ChildWindow expose. Finally, I set the DisplayedMemberPath to something that is ...
-
Unfortunately, Invoke method (a.k.a ServiceOperation) does not allow returning Entity anymore in the new release.
-
Are you using July CTP version of RiaServices?
We have fixed some bugs regarding Datetime serialization in the PDC '09 release.