How use Doctrine?

Permalink
Hi!
Before, I used Model class for working with a database.
class MyClass extends Model { }

Now, C5 5.7 have Doctrine, how use it?
Can you show examples?
Read the official Doctrine documentation did not help me((

I need similar like thishttp://pastie.org/9799527

guyasyou
 
Mainio replied on at Permalink Reply
Mainio
We've created an example implementation here:
https://github.com/mainio/c5_entities_example...

It currently uses this to handle all the database installations / migrations / etc.
https://github.com/mainio/c5pkg_dbentities...

But we're currently in the process of trying to get that into the core:
https://github.com/concrete5/concrete5-5.7.0/pull/1700...