Sql.Net Class Library Documentation

SqlOmRenderer.DateFormat Property

Gets or sets a date format string

public string DateFormat {get; set;}




Use DateFormat to specify how date values should be formatted in order to be properly parsed by your database. Specific renderers set this property to the appliciable default value, so you only need to change this if your database is configured to use other then default date format.

DateFormat will be used to format DateTime values which have the Hour, Minute, Second and Milisecond properties set to 0. Otherwise, DateTimeFormat will be used.

See Also

SqlOmRenderer Class | Reeb.SqlOM.Render Namespace