Share via


SqlServerVectorStoreRecordCollectionOptions<TRecord>.Mapper Property

Definition

Gets or sets an optional custom mapper to use when converting between the data model and the SQL Server record.

public Microsoft.Extensions.VectorData.IVectorStoreRecordMapper<TRecord,System.Collections.Generic.IDictionary<string,object?>>? Mapper { get; init; }
member this.Mapper : Microsoft.Extensions.VectorData.IVectorStoreRecordMapper<'Record, System.Collections.Generic.IDictionary<string, obj>> with get, set
Public Property Mapper As IVectorStoreRecordMapper(Of TRecord, IDictionary(Of String, Object))

Property Value

Microsoft.Extensions.VectorData.IVectorStoreRecordMapper<TRecord,IDictionary<String,Object>>

Remarks

If not set, the default mapper will be used.

Applies to