DataServiceContext.CreateQuery<T>(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a data service query for data of a specified generic type.
public:
generic <typename T>
System::Data::Services::Client::DataServiceQuery<T> ^ CreateQuery(System::String ^ entitySetName);
public System.Data.Services.Client.DataServiceQuery<T> CreateQuery<T> (string entitySetName);
member this.CreateQuery : string -> System.Data.Services.Client.DataServiceQuery<'T>
Public Function CreateQuery(Of T) (entitySetName As String) As DataServiceQuery(Of T)
Type Parameters
- T
The type returned by the query.
Parameters
- entitySetName
- String
A string that resolves to a URI.
Returns
A new DataServiceQuery<TElement> instance that represents a data service query.
Applies to
Spolupráca s nami v službe GitHub
Zdroj tohto obsahu nájdete v službe GitHub, kde môžete vytvárať a skúmať problémy a žiadosti o prijatie zmien. Ďalšie informácie nájdete v našom sprievodcovi prispievateľom.