Click or drag to resize

TaskPerformerBaseCreateFilename Method (String, String, String, String)

Creates a new filename without path, using the filename format and the specified values

Namespace:  SD.LLBLGen.Pro.GeneratorCore
Assembly:  SD.LLBLGen.Pro.GeneratorCore (in SD.LLBLGen.Pro.GeneratorCore.dll) Version: 5.7.0.0 (5.7.0)
Syntax
protected virtual string CreateFilename(
	string filenameFormat,
	string elementName,
	string extension,
	string groupName
)

Parameters

filenameFormat
Type: SystemString
the format to use
elementName
Type: SystemString
the element name to use as a replacement for a [elementName] specification in filenameFormat
extension
Type: SystemString
the extension (without the '.') to use as a replacement for a [extension] specification in filenameFormat
groupName
Type: SystemString
Name of the group the element is in or empty string if not applicable.

Return Value

Type: String
usable name for the outputfile.
Remarks
Converts [elementName] to the elementname specified. Converts [containerName] to the ActiveSourceElementsContainerName in the executing generator, which is either the group name or the project name. Converts [time] to the current type in the format yyyyMMdd-HHmmss. Converts [driverShortName] and [databaseShortName] replaced with their values. If there's just 1 database available in the project, these macros are replaced with empty string. Converts [groupName] to the groupname specified.
See Also