I forgot to back up the file the day before yesterday, so I didn't send it yesterday. For file download, please go to lightweight persistent layer framework v2CodeAnd Template
Note,The code template on the test page can be used without being directly generated. You need to add your own test data in the Code Section I commented out.If you have any problems with the application, please give feedback in time. I will make some improvements.
Template File description:
Entity. CST -- entity class template
Parameters:
Entitynamespace entity class namespace
Dataprovider. CST -- data operation Template
Parameters:
Entitynamespace entity class namespace
Dataprovidernamespace data operation namespace
Subdataprovidername: The suffix of the data operation class. For example, entity_dataprovider and '_ dataprovider' are the suffix names.
Test. CST -- test rule template
Parameters:
Entitynamespace entity class namespace
Dataprovidernamespace data operation namespace
Subdataprovidername: The suffix of the data operation class. For example, entity_dataprovider and '_ dataprovider' are the suffix names.
Testnamespace test class namespace
Testpage. CST -- Test Page Template
Parameters:
Entitynamespace entity class namespace
Dataprovidernamespace data operation namespace
Subdataprovidername: The suffix of the data operation class. For example, entity_dataprovider and '_ dataprovider' are the suffix names.
Testnamespace test class namespace
Testpagecode. CST -- test page Code Template
Parameters:
Entitynamespace entity class namespace
Dataprovidernamespace data operation namespace
Subdataprovidername: The suffix of the data operation class. For example, entity_dataprovider and '_ dataprovider' are the suffix names.
Testnamespace test class namespace