Language

CollectionModelBuilder.ProcessProperty Method

Definition

As part of building the model, this method processes a single property, accepting both a CLR PropertyInfo (from which attributes are read) and a VectorStoreProperty from the user-provided record definition. Either may be null, but not both. When both are provided, the record definition values override attribute-configured values.

protected:
 virtual void ProcessProperty(System::Reflection::PropertyInfo ^ clrProperty, Microsoft::Extensions::VectorData::VectorStoreProperty ^ definitionProperty);
protected virtual void ProcessProperty(System.Reflection.PropertyInfo? clrProperty, Microsoft.Extensions.VectorData.VectorStoreProperty? definitionProperty);
abstract member ProcessProperty : System.Reflection.PropertyInfo * Microsoft.Extensions.VectorData.VectorStoreProperty -> unit
override this.ProcessProperty : System.Reflection.PropertyInfo * Microsoft.Extensions.VectorData.VectorStoreProperty -> unit
Protected Overridable Sub ProcessProperty (clrProperty As PropertyInfo, definitionProperty As VectorStoreProperty)

Parameters

clrProperty
PropertyInfo
definitionProperty
VectorStoreProperty

Applies to