Deprecated
This function is deprecated, and we recommend using the DB:Insert() function from Database API.
Inserts a new record into the database.
Syntax
Add()
Arguments
No arguments.
Return value
No return value.
Example
Insert new record into the database:
dynamic tblCarsModels = GlobalVars.dal.Table("Carsmodels");
tblCarsModels.Value["Make"] = "Renault";
tblCarsModels.Value["Model"] = "Duster";
tblCarsModels.Add();
The corresponding SQL query:
Insert into Carsmodels (Make,Model) values ('Renault','Duster')
See also: