< Back

ConvertTo-CTypeDefinition

Mon Jan 13, 2020 8:18 am

NAME ConvertTo-CTypeDefinition



SYNOPSIS

Generate a string representing a CType definition for the specified SQL object





SYNTAX

ConvertTo-CTypeDefinition [-SqlTemplateObject] <DataRow> [<CommonParameters>]





DESCRIPTION

Generate a string representing a CType definition for the specified SQL object.

You can paste this string into your module code to generate a CType SQL wrapper

for objects of the specified class, reordering the properties and adding

width and keywords to specify the formatting for the type.





PARAMETERS

-SqlTemplateObject <DataRow>



Required? true

Position? 1

Default value

Accept pipeline input? true (ByValue)

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS

System.String







RELATED LINKS

CType

Add-CType

ConvertTo-CTypeSqlWrapper