C# Class NContrib.SqlCommandFormatter

This formats a SqlCommand so that it's highly readable and probably executable, but it is not meant to generate SQL that gets executed. It's for describing a command.
Afficher le fichier Open project: veracross/ncontrib

Méthodes publiques

Свойство Type Description
FormatCulture System.Globalization.CultureInfo

Méthodes publiques

Méthode Description
FormatCommand ( SqlCommand cmd ) : string
FormatSqlParameter ( SqlParameter p ) : string
FormatSqlValue ( object value ) : string

Method Details

FormatCommand() public static méthode

public static FormatCommand ( SqlCommand cmd ) : string
cmd System.Data.SqlClient.SqlCommand
Résultat string

FormatSqlParameter() public static méthode

public static FormatSqlParameter ( SqlParameter p ) : string
p System.Data.SqlClient.SqlParameter
Résultat string

FormatSqlValue() public static méthode

public static FormatSqlValue ( object value ) : string
value object
Résultat string

Property Details

FormatCulture public_oe static_oe property

public static CultureInfo,System.Globalization FormatCulture
Résultat System.Globalization.CultureInfo