Skip to content
MSugiura edited this page Dec 27, 2023 · 6 revisions

Welcome to the RedOrb wiki!

Tutorial

0. Install

It can be installed from Nuget.

PM> NuGet\Install-Package RedOrb

1. Modeling

The model is almost identical to the table. First, let's define the model.

https://github.com/mk3008/RedOrb/wiki/Model

2. Setting

Once you have created a model class, convert it to a definition class and register it with RedOrb.Also, set the DBMS-dependent environment settings.

https://github.com/mk3008/RedOrb/wiki/Configuration

3. Create table

RedOrb can issue create table queries.

https://github.com/mk3008/RedOrb/wiki/CreateTable

4. Save(Insert)

Let's register a model in the database using RedOrb.

5. Load, Cascade rule

Let's read the model registered in the database.

There are various reading methods. In addition to primary key searches, unique key searches, and custom searches, you can also control table joins.

https://github.com/mk3008/RedOrb/wiki/Load

6. Fetch

You can fill in child elements later.

7. Save(Update)

Let's edit the model and write it back to the database.

8. Delete

Let's delete it from the database.

Clone this wiki locally