ODataUtils.HasDefaultStream Method

Checks whether the entityType has a default stream.

Namespace:  Microsoft.Data.OData
Assembly:  Microsoft.Data.OData (in Microsoft.Data.OData.dll)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function HasDefaultStream ( _
    model As IEdmModel, _
    entityType As IEdmEntityType _
) As Boolean
'Usage
Dim model As IEdmModel 
Dim entityType As IEdmEntityType 
Dim returnValue As Boolean 

returnValue = model.HasDefaultStream(entityType)
public static bool HasDefaultStream(
    this IEdmModel model,
    IEdmEntityType entityType
)
[ExtensionAttribute]
public:
static bool HasDefaultStream(
    IEdmModel^ model, 
    IEdmEntityType^ entityType
)
static member HasDefaultStream : 
        model:IEdmModel * 
        entityType:IEdmEntityType -> bool
public static function HasDefaultStream(
    model : IEdmModel, 
    entityType : IEdmEntityType
) : boolean

Parameters

Return Value

Type: System.Boolean
true if the entity type has a default stream; otherwise false.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEdmModel. When you use instance method syntax to call this method, omit the first parameter. For more information, see https://msdn.microsoft.com/en-us/library/bb384936(v=vs.113) or https://msdn.microsoft.com/en-us/library/bb383977(v=vs.113).

See Also

Reference

ODataUtils Class

Microsoft.Data.OData Namespace