Udostępnij za pośrednictwem


EdmStructuredType.AddStructuralProperty Metoda

Definicja

Przeciążenia

AddStructuralProperty(String, EdmPrimitiveTypeKind)

Tworzy i dodaje właściwość strukturalną dopuszczaną do wartości null do tego typu.

AddStructuralProperty(String, IEdmTypeReference)

Tworzy i dodaje właściwość strukturalną do tego typu.

AddStructuralProperty(String, EdmPrimitiveTypeKind, Boolean)

Tworzy i dodaje właściwość strukturalną dopuszczaną do wartości null do tego typu.

AddStructuralProperty(String, IEdmTypeReference, String)

Tworzy i dodaje właściwość strukturalną do tego typu.

AddStructuralProperty(String, EdmPrimitiveTypeKind)

Tworzy i dodaje właściwość strukturalną dopuszczaną do wartości null do tego typu.

public Microsoft.OData.Edm.EdmStructuralProperty AddStructuralProperty (string name, Microsoft.OData.Edm.EdmPrimitiveTypeKind type);
member this.AddStructuralProperty : string * Microsoft.OData.Edm.EdmPrimitiveTypeKind -> Microsoft.OData.Edm.EdmStructuralProperty
Public Function AddStructuralProperty (name As String, type As EdmPrimitiveTypeKind) As EdmStructuralProperty

Parametry

name
String

Nazwa właściwości.

type
EdmPrimitiveTypeKind

Typ właściwości.

Zwraca

Utworzono właściwość strukturalną.

Dotyczy

AddStructuralProperty(String, IEdmTypeReference)

Tworzy i dodaje właściwość strukturalną do tego typu.

public Microsoft.OData.Edm.EdmStructuralProperty AddStructuralProperty (string name, Microsoft.OData.Edm.IEdmTypeReference type);
member this.AddStructuralProperty : string * Microsoft.OData.Edm.IEdmTypeReference -> Microsoft.OData.Edm.EdmStructuralProperty
Public Function AddStructuralProperty (name As String, type As IEdmTypeReference) As EdmStructuralProperty

Parametry

name
String

Nazwa właściwości.

type
IEdmTypeReference

Typ właściwości.

Zwraca

Utworzono właściwość strukturalną.

Dotyczy

AddStructuralProperty(String, EdmPrimitiveTypeKind, Boolean)

Tworzy i dodaje właściwość strukturalną dopuszczaną do wartości null do tego typu.

public Microsoft.OData.Edm.EdmStructuralProperty AddStructuralProperty (string name, Microsoft.OData.Edm.EdmPrimitiveTypeKind type, bool isNullable);
member this.AddStructuralProperty : string * Microsoft.OData.Edm.EdmPrimitiveTypeKind * bool -> Microsoft.OData.Edm.EdmStructuralProperty
Public Function AddStructuralProperty (name As String, type As EdmPrimitiveTypeKind, isNullable As Boolean) As EdmStructuralProperty

Parametry

name
String

Nazwa właściwości.

type
EdmPrimitiveTypeKind

Typ właściwości.

isNullable
Boolean

Flaga określająca, czy właściwość ma wartość null.

Zwraca

Utworzono właściwość strukturalną.

Dotyczy

AddStructuralProperty(String, IEdmTypeReference, String)

Tworzy i dodaje właściwość strukturalną do tego typu.

public Microsoft.OData.Edm.EdmStructuralProperty AddStructuralProperty (string name, Microsoft.OData.Edm.IEdmTypeReference type, string defaultValue);
member this.AddStructuralProperty : string * Microsoft.OData.Edm.IEdmTypeReference * string -> Microsoft.OData.Edm.EdmStructuralProperty
Public Function AddStructuralProperty (name As String, type As IEdmTypeReference, defaultValue As String) As EdmStructuralProperty

Parametry

name
String

Nazwa właściwości.

type
IEdmTypeReference

Typ właściwości.

defaultValue
String

Wartość domyślna tej właściwości.

Zwraca

Utworzono właściwość strukturalną.

Dotyczy