Share via


EdmUtil Class

Definition

Utilities for Edm.

public static class EdmUtil
type EdmUtil = class
Public Module EdmUtil
Inheritance
EdmUtil

Methods

GetMimeType(IEdmModel, IEdmOperation)

Checks whether the annotatableOperation has a MIME type annotation.

GetMimeType(IEdmModel, IEdmProperty)

Checks whether the annotatableProperty has a MIME type annotation.

GetSymbolicString(IEdmVocabularyAnnotatable)

Gets the symbolic string of an annotated element. In the next breaking change, it's better to add a property into IEdmVocabularyAnnotatable.

SetMimeType(IEdmModel, IEdmOperation, String)

Sets the MIME type annotation of the annotatableOperation to mimeType.

SetMimeType(IEdmModel, IEdmProperty, String)

Sets the MIME type annotation of the annotatableProperty to mimeType.

Applies to