RootDocumentBuilderHandleRootEntity Method |
Creates the root document from the entity specified. All work will be done on this document or nested documents of this document
Namespace:
SD.LLBLGen.Pro.ApplicationCore.DerivedModel
Assembly:
SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.11.0.0 (5.11.23.1114)
Syntax public void HandleRootEntity(
EntityDefinition entityDefinition,
string nameToUse = "",
bool createValidators = false
)
Public Sub HandleRootEntity (
entityDefinition As EntityDefinition,
Optional nameToUse As String = "",
Optional createValidators As Boolean = false
)
Parameters
- entityDefinition
- Type: SD.LLBLGen.Pro.ApplicationCore.EntityModelEntityDefinition
the entity definition this root document derives from - nameToUse (Optional)
- Type: SystemString
the name to use for the root document. If left empty the name of the entity is used - createValidators (Optional)
- Type: SystemBoolean
if true (default: false) it willc create validators in the created document
See Also