Skip to content
Open
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
eee1169
FullStack takes any column's name: one named like a member it generat…
ejsmith Nov 26, 2026
36d79b1
LookupEnums and Csla warn whoever generates with CodeTemplate.Warning…
ejsmith Nov 26, 2026
98d0217
Legacy README: PLINQO's entity files can use today's C# and VB (=> me…
ejsmith Nov 26, 2026
199e687
Csla: a schema snapshot's web app is wired for the database it was ta…
ejsmith Nov 26, 2026
f23d4f8
Merge branch 'fix/codefileparser-modern-csharp' into fix/pending-2026…
ejsmith Nov 26, 2026
fbf6967
ModernEntities' EF Core templates (and FullStack's and Csla's copies)…
ejsmith Nov 26, 2026
887a5f8
ModernEntities' EF Core templates (and FullStack's and Csla's copies)…
ejsmith Nov 26, 2026
32a58d3
PLINQO's Entities.cst keeps each member of an entity's Metadata class…
ejsmith Nov 26, 2026
76427d9
PLINQO's Dbml.cst fills in the dbml's default values (Mode="Connectio…
ejsmith Nov 26, 2026
812e7a5
PLINQO-EF-DbContext's sample Petshop.csp no longer sets IgnoreList an…
ejsmith Nov 26, 2026
05a94c2
PLINQO: README.md describes the templates and the Metadata class (wha…
ejsmith Nov 26, 2026
f780a4f
FullStack's and Csla's labels come from one routine, NameWords.Label,…
ejsmith Nov 26, 2026
e0f9850
TableToClass's Records.cst and ModernEntities' (and FullStack's) Enti…
ejsmith Nov 26, 2026
08e58ce
FullStack takes a real schema: PostgreSQL arrays are lists, bit strin…
ejsmith Nov 26, 2026
97ee589
Csla takes a real database's schema: arrays are read-only lists CSLA'…
ejsmith Nov 26, 2026
3fc805e
DBDocumenter's title and server are the database's name and the serve…
ejsmith Nov 26, 2026
98c0379
ModernEntities' README says what the configurations map for each data…
ejsmith Nov 26, 2026
a184fc0
Merge branch 'fix/d4-csla' into fix/pending-2026-11-25
ejsmith Nov 26, 2026
34e7b5b
Merge branch 'fix/d4-fullstack' into fix/pending-2026-11-25
ejsmith Nov 26, 2026
bff214e
Merge branch 'fix/d4-plinqo' into fix/pending-2026-11-25
ejsmith Nov 26, 2026
0009ba3
FullStack README: a nullable column with a database default gets it o…
ejsmith Nov 27, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
FullStack README: a nullable column with a database default gets it o…
…n create even when the row sends null (EF Core can't tell null from left out); an update sets it to null after
  • Loading branch information
ejsmith committed Nov 27, 2026
commit 0009ba35caf24e9b2318ee54cb223df63a5f9508
5 changes: 3 additions & 2 deletions Templates/Web/FullStack/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,8 @@ at. It's split at the words the schema knows (its tables' names, its other names
rows and how many there are in all. A row is read, updated or deleted by its key
(`/api/line-items/{orderId}/{lineNum}`); a key's last column of text takes the rest of the path, so a key with a `/`
works (`/api/settings/a%20b/c`). A new row may leave out a column the database has a default for (`CreatedAt
DEFAULT now()`): the database gives it. A PostgreSQL array is a list in JSON, and a bit string (`bit(8)`, MySQL's
DEFAULT now()`): the database gives it. It gives it too to a new row that sends `null` for a nullable one (EF Core
can't tell `null` from left out): an update sets it to `null` after. A PostgreSQL array is a list in JSON, and a bit string (`bit(8)`, MySQL's
`BIT(8)`) text of 0s and 1s. `GET /api` says how many rows each table has. `PetShopApi.cs` maps them all
(`app.MapPetShopApi()`).
- A change the database refuses is a 409 that says why, for people, and names the fields it's about: "Another
Expand Down Expand Up @@ -174,7 +175,7 @@ What the app does with what a schema has. `cs generate` warns of each of these i
| An enum (MySQL's `ENUM`, PostgreSQL's), MySQL's `SET` | A select (a SET: its values to pick from); the API checks the value (400). |
| A PostgreSQL array (`text[]`, `int[]`, an enum's) | A list in JSON, and a list's input. An array of two dimensions isn't: one such row makes its table's list fail. |
| A bit string (PostgreSQL's `bit(n)`, `bit varying`; MySQL's `BIT(n)`) | Text of 0s and 1s. `BIT(1)` and PostgreSQL's `bit(1)` are a bool. |
| A column with a default (`DEFAULT now()`, `DEFAULT 'low'`) | A new row may leave it out, and the database gives it; the form starts with it where it's a value. |
| A column with a default (`DEFAULT now()`, `DEFAULT 'low'`) | A new row may leave it out, and the database gives it; the form starts with it where it's a value. A nullable one gets it even when a new row sends `null` (EF Core can't tell the two apart): an update sets it to `null` after. |
| A `timestamptz` (MySQL's `TIMESTAMP`, SQL Server's `datetimeoffset`) | Sent in UTC (or with its offset); the form shows and sends it in the browser's time. |
| A column without a .NET type (PostgreSQL's `point`, SQL Server's `geography`) | Leaves it out of the entity, the API and the UI. |
| A column of a type the API and the UI don't know (PostgreSQL's `inet`, a range) | Takes it as text: check it reads and saves. |
Expand Down