public static void SetValuesOnProperties()

in Elastic.SemanticKernel.Connectors.Elasticsearch/Internal/Helpers/VectorStoreRecordMapping.cs [32:47]


    public static void SetValuesOnProperties<TStorageType, TRecord>(
        TRecord record,
        IEnumerable<PropertyInfo> dataModelPropertiesInfo,
        IReadOnlyDictionary<string, string> dataModelToStorageNameMapping,
        IReadOnlyDictionary<string, TStorageType> storageValues,
        Func<TStorageType, Type, object?>? storageValueConverter = null)
            where TRecord : class
    {
        var propertiesInfoWithValues = BuildPropertiesInfoWithValues(
            dataModelPropertiesInfo,
            dataModelToStorageNameMapping,
            storageValues,
            storageValueConverter);

        SetPropertiesOnRecord(record, propertiesInfoWithValues);
    }