Click or drag to resize

ExtensionConvertDateToSQL Method

Convert C# date type to SQL date type

Namespace:  Velo.Data.Helper
Assembly:  Velo.Data (in Velo.Data.dll) Version: 22.2.10.1 (22.2.10.450)
Syntax
public static Object ConvertDateToSQL(
	this Object pDate
)

Parameters

pDate
Type: SystemObject
Date as object

Return Value

Type: Object
SQL date value object

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Object. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Remarks
Declaration statement
Using Velo.Data.Helper
See Also