ObjectModelCommon

Note: Several properties in this model exist because they were created prior to the NamingFactory and should now be removed – as soon as dependent templates are updated. DO NOT USE THESE PROPERTIES!

You can find the object model in the ObjectModelCommon project of the FullProject solution (or in Models/ObjectModelCommon under the trunk).

The current implementation of ObjectModelCommon interfaces is GenInputMetadataWrapper found in the FullProject solution (or in Wrappers/ GenInputMetadataWrapper under the trunk)

The object model represents metadata from the perspective of writing .NET code - -either a business layer or a DAL (Data Access Layer). To use this model:
- Determine and architecture and create some sample code (three suggested)
- Create a .NET template using the suggested pattern ( Not yet posted )
- Reference GenDotNet.ObjectModelCommon
- Import GenDotNet.ObjectModelCommon(part of the pattern sample)

At this point you’ll have an IObjectData reference available in the ObjectData class variable and should see Intellisense on the following structure:
“* CanListAll (Boolean) *IsPrimaryKey (Boolean) *Caption (string)
*AllowNulls (Boolean)