Click or drag to resize
DerivedModelDefinitionCreateNewRootDocument Method
Creates a new root document and adds it to this model

Namespace:  SD.LLBLGen.Pro.ApplicationCore.DerivedModel
Assembly:  SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.1.0.0 (5.1.0)
Syntax
public RootDocumentDefinition CreateNewRootDocument(
	string name,
	EntityDefinition rootEntity
)

Parameters

name
Type: SystemString
The name.
rootEntity
Type: SD.LLBLGen.Pro.ApplicationCore.EntityModelEntityDefinition
The root entity.

Return Value

Type: RootDocumentDefinition
created document
Remarks
Doesn't check whether the name is unique nor correct.
See Also