Skip to content
Open
Show file tree
Hide file tree
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
Next Next commit
PLINQO's Dbml.cst fills in the dbml's default values (Mode="Connectio…
…nString", DeleteOnNull="false") before saving it, as the generator does for a dbml it reads, so a new project's first generate writes what the second does and cs check right after it is up to date (8.x added them on the second run)
  • Loading branch information
ejsmith committed Nov 26, 2026
commit 76427d97c277918b38499960e40397ed89060d63
5 changes: 5 additions & 0 deletions Templates/Legacy/Frameworks/PLINQO/CSharp/Dbml.cst
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,11 @@
DbmlGenerator generator = new DbmlGenerator(settings);
generator.SchemaItemProcessed += new EventHandler<SchemaItemProcessedEventArgs>(OnSchemaItemProcessed);
Database db = generator.Create(SourceDatabase);

// 9.0: the dbml with the default values the next run reads it with (the generator fills them in only for a dbml
// it read), so a new project's first run writes what every run after it does: 8.x added Mode="ConnectionString"
// and DeleteOnNull="false" on the second run.
Dbml.ToFile(Dbml.CopyWithNulledOutDefaults(Dbml.CopyWithFilledInDefaults(db)), filePath);

OutputFile dbmlOutputFile = new OutputFile(this.DbmlFile);
dbmlOutputFile.Metadata.Add("CustomTool", string.Empty);
Expand Down
5 changes: 5 additions & 0 deletions Templates/Legacy/Frameworks/PLINQO/VisualBasic/Dbml.cst
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,11 @@ Public Sub Generate()
AddHandler generator.SchemaItemProcessed, AddressOf OnSchemaItemProcessed
Dim db As Database = generator.Create(SourceDatabase)

' 9.0: the dbml with the default values the next run reads it with (the generator fills them in only for a dbml
' it read), so a new project's first run writes what every run after it does: 8.x added Mode="ConnectionString"
' and DeleteOnNull="false" on the second run.
Dbml.ToFile(Dbml.CopyWithNulledOutDefaults(Dbml.CopyWithFilledInDefaults(db)), filePath)

Dim outputFile As New OutputFile(Me.DbmlFile)
outputFile.Metadata.Add("CustomTool", String.Empty)
Me.RegisterOutput(outputFile)
Expand Down