EmployeeAdd Method |  |
Add an employee data record to database
Namespace:
Velo.Data
Assembly:
Velo.Data (in Velo.Data.dll) Version: 22.2.10.1 (22.2.10.450)
Syntaxpublic static Employee Add(
Employee pEmployee,
string pConnectionString = ""
)
Public Shared Function Add (
pEmployee As Employee,
Optional pConnectionString As String = ""
) As Employee
Parameters
- pEmployee
- Type: Velo.Data.ModelsEmployee
Employee data item to add - pConnectionString (Optional)
- Type: SystemString
Database connection data.
Default value see GetConnection(String)
Return Value
Type:
EmployeeAn employee data item include ID and created date and time
See Also