Language

CollectionModelBuilder.ValidateKeyProperty(KeyPropertyModel) Method

Definition

Validates the key property. The default implementation validates that the collection's generic key type (KeyType) corresponds to the key property type on the model, if KeyType was provided. Provider overrides should call the base implementation.

protected:
 virtual void ValidateKeyProperty(Microsoft::Extensions::VectorData::ProviderServices::KeyPropertyModel ^ keyProperty);
protected virtual void ValidateKeyProperty(Microsoft.Extensions.VectorData.ProviderServices.KeyPropertyModel keyProperty);
abstract member ValidateKeyProperty : Microsoft.Extensions.VectorData.ProviderServices.KeyPropertyModel -> unit
override this.ValidateKeyProperty : Microsoft.Extensions.VectorData.ProviderServices.KeyPropertyModel -> unit
Protected Overridable Sub ValidateKeyProperty (keyProperty As KeyPropertyModel)

Parameters

keyProperty
KeyPropertyModel

Applies to