1
Vote

Feature Request: improve ComboBoxDataSource support when communicating with a LinqToEntitiesDomainService data type by automatically appending "Query" to the OperationName

description

I'd like to request that support when communicating with a LinqToEntitiesDomainService data type on the ComboBoxDataSource be improved by automatically appending "Query" to the OperationName.
 
For example, when following the sample here: http://blogs.msdn.com/b/kylemc/archive/2010/06/18/combobox-sample-for-ria-services.aspx
if the SampleDomainService inherited from LinqToEntitiesDomainService instead, the generated code automatically appends the "Query" suffix to the method names.
So instead of
<ex:ComboBoxDataSource Name="ASource"
                     DomainContext="{StaticResource SampleDomainContext}"
                     OperationName="GetAValues" /> 
I would have to write
<ex:ComboBoxDataSource Name="ASource"
                     DomainContext="{StaticResource SampleDomainContext}"
                     OperationName="GetAValuesQuery" /> 
 
I expected that I would not need to append "Query" to the OperationName.
 
Thank you.

comments

icnocop wrote Nov 18, 2011 at 2:30 AM

Or maybe also support using another property like QueryName instead of OperationName that will automatically append "Query" to the value that is passed in. ;)