RoverCore / Documentation

Documentation for RoverCore
Apache License 2.0
0 stars 11 forks source link

CRUD Scaffolding #8

Closed tanczosm closed 2 years ago

tanczosm commented 2 years ago

CRUD Scaffolding

Scaffolding a CRUD controller (Start with a sample entity called Widget)

    Widget:
        Id (key, int)
        Name (string)
        Description (string)
        Price (double)
        CreatedAt (datetime)
        UpdatedAt (datetime)

Customizing a scaffolded CRUD controller

Adding Tags to Widgets

    Create a new Entity called Tag
        Id (key, int)
        Name (string)
        List<Widget> Widgets { get; set; }
    Update Widget to include tags, Add
        List<Tag> Tags