Skip to content

Question: can context.BulkInsertAsync add objects with children #1748

Open
@Martin-Andersen

Description

@Martin-Andersen

I am saving this entity

public class AladdinIndexWeightsEntity : BaseEntityAladdin
{
public string Cusip { get; set; } = null!;
public string Description { get; set; } = null!;
public string Type { get; set; } = null!;
public string Name { get; set; } = null!;
public List Underlying { get; set; } = [];
}

BulkInsertAsync is inserting AladdinIndexWeightsEntity but not children of type AladdinIndexWeightsUnderlyingEntity

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions