Skip to content
This repository was archived by the owner on Aug 10, 2024. It is now read-only.

self refrence still can not work #34

@SarcoZ

Description

@SarcoZ

public class Area
{
[BsonId]
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public ObjectId Id { get; private set; }
public string Name { get; set; }
public string Code { get; set; }
public virtual Area Parent { get; set; }
public virtual ICollection Areas { get; set; }
}

my class is area ,has child ICollection Areas,which is self refrence,
save can success,but can not read,use include still not work

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions