SerializationExtensionMethods.SetSchemaNamespace 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.
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.