Daniele Teti
00c095d090
Added EMVCActiveRecordValidationError for "storage related" exception. Is not intended to be used for general validation.
2024-11-08 12:34:34 +01:00
Daniele Teti
1bb4d7f7ca
TMVCActiveRecord // in WriteableFieldsCount is considered also a not-autogenerated primary key
2024-11-05 12:24:45 +01:00
Daniele Teti
ac6011143c
Loading of SQL generators refactored
2024-10-16 08:10:50 +02:00
Daniele Teti
a37e466d66
Link all SQL generators in MVCActiveRecord
2024-10-16 08:00:05 +02:00
Daniele Teti
613347be1f
Added SWAGGER support also for APIs generated by the TMVCActiveRecordController
2024-10-01 16:16:27 +02:00
Daniele Teti
d743333741
Updated dmustache to version 2
2024-04-29 15:40:45 +02:00
Francisco Zanini
f0bf273e0b
Check if the field is writeable when mapping value to param ( #735 )
...
* Return 401 instead 403 when authenticating an user
* Check if the field is writeable when mapping value to param
---------
Co-authored-by: Francisco Zanini <francisco@digifort.com.br>
2024-04-29 14:48:31 +02:00
Daniele Teti
9fe57246d4
foAutoGenerated is converted to [foDoNotInsert , foDoNotUpdate]
2024-04-09 17:05:22 +02:00
Daniele Teti
8c80ed7a3e
Cleanup TransactionContext, better exception message for no data found.
2024-04-03 14:41:29 +02:00
Daniele Teti
e370718a34
Added EMVCActiveRecordTransactionContext
2024-04-03 09:59:53 +02:00
Daniele Teti
4349f20d95
TransactionContext (WIP)
2024-03-31 18:09:13 +02:00
Daniele Teti
17747dcf19
Completed new field options (foDoNot*)
2024-03-13 16:45:09 +01:00
Daniele Teti
ab92225d12
First implementation for foDoNotInsert and foDoNotUpdate
2024-03-13 13:00:11 +01:00
Daniele Teti
b9fcc04647
https://github.com/danieleteti/delphimvcframework/issues/728
2024-03-08 12:10:15 +01:00
Daniele Teti
d1b14eb24a
Optimized pooling and cache of frequently used object in mustache and partitioning
2024-01-31 16:00:56 +01:00
Daniele Teti
90dcd3bdfe
Copyright updated to 2010-2024
2024-01-02 17:04:27 +01:00
Daniele Teti
e0190b3fe8
foVersion (WIP + new sample)
2023-11-27 18:11:49 +01:00
Daniele Teti
3a748821ce
Aligned for foVersion
2023-11-27 12:04:30 +01:00
Daniele Teti
d68b102d14
Added TMVCActiveRecord.GetCustomTableName which allows to overwrite the tablename defined in the MVCTableName attribute. Just overwrite the method in descendant classes and return the tablename to use for the current instance.
2023-11-23 22:58:07 +01:00
Daniele Teti
e1aa50dd86
Delphi12 compatibility
2023-11-06 12:37:33 +01:00
Daniele Teti
a2f190df44
New feature: ObjectVersioning for TMVCActiveRecord - see foVersion
...
- TMVCActiveRecord.TableName is now readonly
2023-11-02 17:36:19 +01:00
Daniele Teti
ed1697c616
MVCActiveRecord: Improved exception message for entity without MVCTable
2023-11-01 23:11:50 +01:00
Daniele Teti
7f6c3e2ea2
Added TMVCActiveRecord.TryGetSQLQuery<T> and TMVCActiveRecord.TryGetRQLQuery<T>
2023-10-17 18:07:09 +02:00
Daniele Teti
7cb33e8615
Cleanup
2023-10-06 10:42:49 +02:00
Daniele Teti
a92deebae9
New sample to explain how to use ADO connections in TMVCActiveRecord
2023-10-04 08:03:10 +02:00
Daniele Teti
9356cca93d
Imrpovements over the Entity Generator
2023-10-03 11:11:01 +02:00
Daniele Teti
2e07107948
MVCActiveRecord - in case of "integer field types" specified in the MVCTableField attribute "DataFieldName", if the entity property is a boolean value, 1 and 0 are mapped as true and false.
2023-09-28 15:37:10 +02:00
Daniele Teti
42c58d92f7
https://github.com/danieleteti/delphimvcframework/issues/692
2023-09-14 16:35:49 +02:00
Daniele Teti
d30e3ea585
Added support for NamedQuery using ClassRef
2023-09-05 14:32:04 +02:00
Daniele Teti
36d7a938b6
Refactored MVCResponseBuilder
2023-09-05 12:29:38 +02:00
Daniele Teti
f21bb1144b
https://github.com/danieleteti/delphimvcframework/issues/682
2023-08-30 16:34:36 +02:00
Daniele Teti
f5f9220f70
Improved CORS middleware
2023-08-30 11:58:50 +02:00
Daniele Teti
b59f8f6421
Added MVCNamedSQLQuery and MVCNamedRQLQuery (Named queries support is complete)
2023-08-09 10:55:34 +02:00
Daniele Teti
636341d822
NamedSQLQuery (WIP)
2023-08-09 01:23:24 +02:00
Daniele Teti
47c3003f15
Better organization of method between TMVCActiveRecord and TMVCActiveRecordHelper
2023-08-09 00:46:31 +02:00
Daniele Teti
0053885bc1
Better exception description and better recognize of boolean type when database doesn't know boolean field types
2023-08-08 18:54:44 +02:00
Daniele Teti
c201c916cb
https://github.com/danieleteti/delphimvcframework/issues/675
2023-08-08 14:31:23 +02:00
Daniele Teti
69d9780b02
TMVCActiveRecord correnctly handle "DirectExecute" params in Exec* methods
2023-07-12 15:01:58 +02:00
Daniele Teti
2b65a1d503
In case of MVCPartitioning and DefaultFiltering are both present, DefaultFiltering wins.
...
While the partitioning in enforced at insert, the update doesn't enforce partitioning. This allows to implement proper OOP architecture (person -> employee -> manager)
2023-07-07 20:29:09 +02:00
Daniele Teti
2365be432b
Wrong comparison in checks for ro/RW/PK fields
2023-06-16 00:59:51 +02:00
Daniele Teti
2e2d3a499e
Added support for configuration; better handling for topics cleaning.
2023-06-15 23:42:07 +02:00
Francisco Zanini
317d97ce2e
Fixed wrong data type for NullableTGUID ( #651 )
...
Co-authored-by: Francisco Zanini <francisco@digifort.com.br>
2023-03-28 17:08:58 +02:00
Daniele Teti
3e36a3389b
Preparing for 3.3.0-fluorine release
2023-03-24 17:16:03 +01:00
Daniele Teti
0023ebe32c
https://github.com/danieleteti/delphimvcframework/issues/631
2023-01-29 17:29:24 +01:00
Daniele Teti
fc9fffb9e7
Updated copyright message, removing some warnings
2023-01-17 08:52:26 +01:00
Daniele Teti
9a85f19680
Added "DirectExecute" options in ExecSQL methods
2023-01-02 22:09:42 +01:00
Daniele Teti
cb6f0f0c8c
https://github.com/danieleteti/delphimvcframework/issues/581
2022-11-24 11:07:34 +01:00
Daniele Teti
d419cc690f
https://github.com/danieleteti/delphimvcframework/issues/594
2022-11-21 15:20:18 +01:00
Daniele Teti
8b7ec97819
Improved TMVCTableMapRepository lock
2022-11-17 23:53:32 +01:00
Daniele Teti
1b7e2ed742
+ flyweight for TableMapInfo in TMVCActiveRecord (WIP)
2022-11-17 19:33:27 +01:00