Is there any way to make persistence of business objects with data from a database in Delphi 7?
Is it possible without using components.
Is there any way to make persistence of business objects with data from a
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can use our Open Source ORM framework, using SQLite3 database. Full RESTful framework, works locally (i.e. in process), or remotely via HTTP/1.1, Named pipes or GDI messages. No external dll required. Works with Delphi 7 up to 2010.
All is done without any component, directly from source code. All database SQL is created from classes published properties.
For example, a People Table is defined in Delphi code as followed:
And you can access your data with code like this:
See http://blog.synopse.info/category/Open-Source-Projects/SQLite3-Framework