Share via


SerializationExtensionMethods.SetSchemaNamespace Method

Definition

Sets the schema an annotation should appear in.

public static void SetSchemaNamespace (this Microsoft.OData.Edm.Vocabularies.IEdmVocabularyAnnotation annotation, Microsoft.OData.Edm.IEdmModel model, string schemaNamespace);
static member SetSchemaNamespace : Microsoft.OData.Edm.Vocabularies.IEdmVocabularyAnnotation * Microsoft.OData.Edm.IEdmModel * string -> unit
<Extension()>
Public Sub SetSchemaNamespace (annotation As IEdmVocabularyAnnotation, model As IEdmModel, schemaNamespace As String)

Parameters

annotation
IEdmVocabularyAnnotation

The annotation the schema should be set for.

model
IEdmModel

Model containing the annotation.

schemaNamespace
String

The schema the annotation belongs in.

Applies to