Repositories: Quote table and columns and use NPoco extensions over raw SQL (#20034)

* fix sql syntax issues

* unify all dtos, fix autoIncrement for NPoco.Insert and .BulkInsert

* fix Copilot review comments

* fix sql syntax in TrackedReferencesRepository.GetPagedDescendantsInReferences()

* remove changes in TemplateServiceTests

* Tweaks and fixes from first review.

* Reverted changes outside scope of PR.

* Use FirstOrDefault over SelectTop.

* Fix delete member issue.

* Fixed issue with create of webhooks.

* Reverted changes to default data install.

* Removed unused method.

* Rationalised use of quoting helpers.

* Apply suggestions from code review

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Fix nullability issue.

---------

Co-authored-by: Andy Butland <abutland73@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Dirk Seefeld
2025-09-20 11:40:16 +02:00
committed by GitHub
parent dca70a0bd0
commit a7bb1fc20d
96 changed files with 1449 additions and 827 deletions

View File

@@ -32,7 +32,7 @@
"Smtp": {
//"From": "your@email.here",
//"Host": "localhost",
// "Port": "25"
//"Port": 25
}
},
"Hosting": {