ExtensionMethods.ExistsContainer(IEdmModel, String) Method

Definition

If the container name in the model is the same as the input name. The input name maybe full qualified name.

public static bool ExistsContainer (this Microsoft.OData.Edm.IEdmModel model, string containerName);
static member ExistsContainer : Microsoft.OData.Edm.IEdmModel * string -> bool
<Extension()>
Public Function ExistsContainer (model As IEdmModel, containerName As String) As Boolean

Parameters

model
IEdmModel

The model to search.

containerName
String

Input container name to be searched. The container name may be full qualified with namespace prefix.

Returns

True if the model has a container called input name, otherwise false.

Applies to