I've created a class that whenever a document type is saved, creates an equivalent a c# Class.
This c# class will already have the following features:
- each property of the documentType will be a property of the class
- a constructor based on the id of the node
- derive the class if the document type has a master document type
- Return list of object classes for the allowed child nodetypes
For me it's been very useful and I would like to share it and have some feedback from you guys on how to extend it. Where's the best place to do it?
Creating classes based on DocumentType
Hi everyone!
I've created a class that whenever a document type is saved, creates an equivalent a c# Class.
This c# class will already have the following features:
- each property of the documentType will be a property of the class
- a constructor based on the id of the node
- derive the class if the document type has a master document type
- Return list of object classes for the allowed child nodetypes
For me it's been very useful and I would like to share it and have some feedback from you guys on how to extend it. Where's the best place to do it?
thanks
Pedro
Hi Pedro,
Core team is working on something similar, a linq provider for umbraco. Not sure what version will have this feature included!
Cheers,
/Dirk
Comment author was deleted
Sounds a lot like
Umbraco Interaction Layer
http://uil.codeplex.com/
is working on a reply...