Compartilhar via


ExtensionMethods.SetOptimisticConcurrencyAnnotation Método

Definição

Definir annotation Org.OData.Core.V1.OptimisticConcurrency como EntitySet

public static void SetOptimisticConcurrencyAnnotation (this Microsoft.OData.Edm.EdmModel model, Microsoft.OData.Edm.IEdmEntitySet target, System.Collections.Generic.IEnumerable<Microsoft.OData.Edm.IEdmStructuralProperty> properties);
static member SetOptimisticConcurrencyAnnotation : Microsoft.OData.Edm.EdmModel * Microsoft.OData.Edm.IEdmEntitySet * seq<Microsoft.OData.Edm.IEdmStructuralProperty> -> unit
<Extension()>
Public Sub SetOptimisticConcurrencyAnnotation (model As EdmModel, target As IEdmEntitySet, properties As IEnumerable(Of IEdmStructuralProperty))

Parâmetros

model
EdmModel

O modelo a ser adicionado à anotação

target
IEdmEntitySet

O entitySet de destino para definir a anotação embutida

properties
IEnumerable<IEdmStructuralProperty>

O PropertyPath para anotação

Aplica-se a