EntityContainer.TryGetEntitySetByName(String, Boolean, EntitySet) 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.
Returns an EntitySet object by using the specified name for the entity set.
public:
bool TryGetEntitySetByName(System::String ^ name, bool ignoreCase, [Runtime::InteropServices::Out] System::Data::Metadata::Edm::EntitySet ^ % entitySet);
public bool TryGetEntitySetByName (string name, bool ignoreCase, out System.Data.Metadata.Edm.EntitySet entitySet);
member this.TryGetEntitySetByName : string * bool * EntitySet -> bool
Public Function TryGetEntitySetByName (name As String, ignoreCase As Boolean, ByRef entitySet As EntitySet) As Boolean
Parameters
- name
- String
The name of the entity set that is searched for.
- ignoreCase
- Boolean
true
to perform the case-insensitive search; otherwise, false
.
- entitySet
- EntitySet
When this method returns, contains an EntitySet object. If there is no entity set, this output parameter contains null.
Returns
true
if there is an entity set that matches the search criteria; otherwise, false
.
Applies to
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.