Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DbChart

A (very) experimental database documentation generator.

Considering the following EF model:

[DisplayName("Order Item")]
[Comment("An order item is specific to a single order. An order item references a single product, but many indicate > 1 quantity.")]
public sealed class OrderItem
{
    public Guid Id { get; init; } = Guid.NewGuid();
    public Guid OrderId { get; set; }
    public Guid ProductId { get; set; }
    public int Quantity { get; set; }
    
    [Comment("This represents the product price at the time of purchase.")]
    [Precision(9, 2)]
    public decimal PricePerItem { get; set; }

    [RelationshipDescription("belongs to")]
    public Order Order { get; set; } = null!;

    [RelationshipDescription("references")]
    public Product Product { get; set; } = null!;
}

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages