GeneratorUtilsDetermineElementsForQuerySpecProjectionFromDocument Method  | 
 
            Determines the data needed to generate projection code for the document specified. The data returned is for projecting the fields in the
            document specified, excluding fields which represent a nested document or set of documents. 
            
 
    Namespace: 
   SD.LLBLGen.Pro.GeneratorCore
    Assembly:
   SD.LLBLGen.Pro.GeneratorCore (in SD.LLBLGen.Pro.GeneratorCore.dll) Version: 5.11.0.0 (5.11.23.1114)
Syntaxpublic static DocumentProjectionData DetermineElementsForQuerySpecProjectionFromDocument(
	DocumentDefinitionBase document,
	SourceNavigatorPath pathToExclude,
	bool inlineValueTypeFields,
	DocumentProjectionData parentData = null,
	int nestingLevel = 0
)
Public Shared Function DetermineElementsForQuerySpecProjectionFromDocument ( 
	document As DocumentDefinitionBase,
	pathToExclude As SourceNavigatorPath,
	inlineValueTypeFields As Boolean,
	Optional parentData As DocumentProjectionData = Nothing,
	Optional nestingLevel As Integer = 0
) As DocumentProjectionData
Parameters
- document
 - Type: SD.LLBLGen.Pro.ApplicationCore.DerivedModelDocumentDefinitionBase
The document to produce the data for - pathToExclude
 - Type: SD.LLBLGen.Pro.ApplicationCore.DerivedModelSourceNavigatorPath
The path to exclude. - inlineValueTypeFields
 - Type: SystemBoolean
if set to true it assumes valuetype field inlining. If field inlining is specified, valuetype field names
                are the first field in the path + the last field's name (which is this instances referenced field) - parentData (Optional)
 - Type: SD.LLBLGen.Pro.GeneratorCoreDocumentProjectionData
The parent document projection data to track data in. If null, a new one is created.  - nestingLevel (Optional)
 - Type: SystemInt32
THe nesting level of recursion, used to create unique aliases in a scope 
Return Value
Type: 
DocumentProjectionDatathe parentData if it was passed in, filled with the data of this document, otherwise a new projection data object
See Also