Share via


EdmModelBase Constructors

Definition

Overloads

EdmModelBase(IEnumerable<IEdmModel>, IEdmDirectValueAnnotationsManager)

Initializes a new instance of the EdmModelBase class.

EdmModelBase(IEnumerable<IEdmModel>, IEdmDirectValueAnnotationsManager, Boolean)

Initializes a new instance of the EdmModelBase class.

EdmModelBase(IEnumerable<IEdmModel>, IEdmDirectValueAnnotationsManager)

Initializes a new instance of the EdmModelBase class.

protected EdmModelBase (System.Collections.Generic.IEnumerable<Microsoft.OData.Edm.IEdmModel> referencedModels, Microsoft.OData.Edm.Vocabularies.IEdmDirectValueAnnotationsManager annotationsManager);
new Microsoft.OData.Edm.EdmModelBase : seq<Microsoft.OData.Edm.IEdmModel> * Microsoft.OData.Edm.Vocabularies.IEdmDirectValueAnnotationsManager -> Microsoft.OData.Edm.EdmModelBase
Protected Sub New (referencedModels As IEnumerable(Of IEdmModel), annotationsManager As IEdmDirectValueAnnotationsManager)

Parameters

referencedModels
IEnumerable<IEdmModel>

Models to which this model refers.

annotationsManager
IEdmDirectValueAnnotationsManager

Annotations manager for the model to use.

Remarks

Only either mainModel and referencedModels should have value.

Applies to

EdmModelBase(IEnumerable<IEdmModel>, IEdmDirectValueAnnotationsManager, Boolean)

Initializes a new instance of the EdmModelBase class.

protected EdmModelBase (System.Collections.Generic.IEnumerable<Microsoft.OData.Edm.IEdmModel> referencedModels, Microsoft.OData.Edm.Vocabularies.IEdmDirectValueAnnotationsManager annotationsManager, bool includeDefaultVocabularies);
new Microsoft.OData.Edm.EdmModelBase : seq<Microsoft.OData.Edm.IEdmModel> * Microsoft.OData.Edm.Vocabularies.IEdmDirectValueAnnotationsManager * bool -> Microsoft.OData.Edm.EdmModelBase
Protected Sub New (referencedModels As IEnumerable(Of IEdmModel), annotationsManager As IEdmDirectValueAnnotationsManager, includeDefaultVocabularies As Boolean)

Parameters

referencedModels
IEnumerable<IEdmModel>

Models to which this model refers.

annotationsManager
IEdmDirectValueAnnotationsManager

Annotations manager for the model to use.

includeDefaultVocabularies
Boolean

a boolean value indicating whether to embed the built-in vocabulary models.

Remarks

Only either mainModel and referencedModels should have value.

Applies to