ApplicationUtilsCreateRawElementDefinitionsFromTargets Method |
Creates the raw element definitions from the targets specified. Will precheck any element which doesn't have a model element mapped on it.
Namespace:
SD.LLBLGen.Pro.ApplicationCore
Assembly:
SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.2.0.0 (5.2.17.0403)
Syntax public static List<RawElementDefinition> CreateRawElementDefinitionsFromTargets(
List<IProjectElementMapTargetElement> targetsToMap,
string driverID,
ProjectElementType elementType,
HashSet<string> currentNamesInUse,
HashSet<IProjectElementMapTargetElement> alreadyMappedTargets,
Project containingProject
)
Public Shared Function CreateRawElementDefinitionsFromTargets (
targetsToMap As List(Of IProjectElementMapTargetElement),
driverID As String,
elementType As ProjectElementType,
currentNamesInUse As HashSet(Of String),
alreadyMappedTargets As HashSet(Of IProjectElementMapTargetElement),
containingProject As Project
) As List(Of RawElementDefinition)
Parameters
- targetsToMap
- Type: System.Collections.GenericListIProjectElementMapTargetElement
The targets to map. - driverID
- Type: SystemString
The driver identifier. - elementType
- Type: SD.LLBLGen.Pro.ApplicationCoreProjectElementType
Type of the element. - currentNamesInUse
- Type: System.Collections.GenericHashSetString
The current names in use. - alreadyMappedTargets
- Type: System.Collections.GenericHashSetIProjectElementMapTargetElement
The already mapped targets. - containingProject
- Type: SD.LLBLGen.Pro.ApplicationCore.ProjectClassesProject
The containing project.
Return Value
Type:
ListRawElementDefinition
list of 0 or more RawElementDefinition instances
Remarks Only targets of 1 database type can be passed in.
See Also