ExtensionMethods.AddTerm Metoda
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Przeciążenia
AddTerm(EdmModel, String, String, EdmPrimitiveTypeKind) |
Tworzy i dodaje nowe wystąpienie EdmTerm klasy z typu pierwotnego. |
AddTerm(EdmModel, String, String, IEdmTypeReference) |
Tworzy i dodaje nowe wystąpienie EdmTerm klasy z odwołania do typu. |
AddTerm(EdmModel, String, String, IEdmTypeReference, String, String) |
Tworzy i dodaje nowe wystąpienie EdmTerm klasy z odwołania do typu. |
AddTerm(EdmModel, String, String, EdmPrimitiveTypeKind)
Tworzy i dodaje nowe wystąpienie EdmTerm klasy z typu pierwotnego.
public static Microsoft.OData.Edm.Vocabularies.EdmTerm AddTerm (this Microsoft.OData.Edm.EdmModel model, string namespaceName, string name, Microsoft.OData.Edm.EdmPrimitiveTypeKind kind);
static member AddTerm : Microsoft.OData.Edm.EdmModel * string * string * Microsoft.OData.Edm.EdmPrimitiveTypeKind -> Microsoft.OData.Edm.Vocabularies.EdmTerm
<Extension()>
Public Function AddTerm (model As EdmModel, namespaceName As String, name As String, kind As EdmPrimitiveTypeKind) As EdmTerm
Parametry
- model
- EdmModel
Model EdmModel.
- namespaceName
- String
Przestrzeń nazw terminu.
- name
- String
Nazwa nowo utworzonego terminu
- kind
- EdmPrimitiveTypeKind
Typ pierwotny terminu.
Zwraca
Utworzony termin.
Dotyczy
AddTerm(EdmModel, String, String, IEdmTypeReference)
Tworzy i dodaje nowe wystąpienie EdmTerm klasy z odwołania do typu.
public static Microsoft.OData.Edm.Vocabularies.EdmTerm AddTerm (this Microsoft.OData.Edm.EdmModel model, string namespaceName, string name, Microsoft.OData.Edm.IEdmTypeReference type);
static member AddTerm : Microsoft.OData.Edm.EdmModel * string * string * Microsoft.OData.Edm.IEdmTypeReference -> Microsoft.OData.Edm.Vocabularies.EdmTerm
<Extension()>
Public Function AddTerm (model As EdmModel, namespaceName As String, name As String, type As IEdmTypeReference) As EdmTerm
Parametry
- model
- EdmModel
Model EdmModel.
- namespaceName
- String
Przestrzeń nazw terminu.
- name
- String
Nazwa nowo utworzonego terminu
- type
- IEdmTypeReference
Typ terminu.
Zwraca
Utworzony termin.
Dotyczy
AddTerm(EdmModel, String, String, IEdmTypeReference, String, String)
Tworzy i dodaje nowe wystąpienie EdmTerm klasy z odwołania do typu.
public static Microsoft.OData.Edm.Vocabularies.EdmTerm AddTerm (this Microsoft.OData.Edm.EdmModel model, string namespaceName, string name, Microsoft.OData.Edm.IEdmTypeReference type, string appliesTo, string defaultValue);
static member AddTerm : Microsoft.OData.Edm.EdmModel * string * string * Microsoft.OData.Edm.IEdmTypeReference * string * string -> Microsoft.OData.Edm.Vocabularies.EdmTerm
<Extension()>
Public Function AddTerm (model As EdmModel, namespaceName As String, name As String, type As IEdmTypeReference, appliesTo As String, defaultValue As String) As EdmTerm
Parametry
- model
- EdmModel
Model EdmModel.
- namespaceName
- String
Przestrzeń nazw terminu.
- name
- String
Nazwa nowo utworzonego terminu
- type
- IEdmTypeReference
Typ terminu.
- appliesTo
- String
Element AppliesTo terminu.
- defaultValue
- String
Wartość domyślna terminu.
Zwraca
Utworzony termin.