Delete by Primary Key

Syntax

DeleteByID(id); 

Arguments

Description

Gets the specific record from a repository whose Primary Key value matches the one specified in the parameter id.

Example

The following program illustrates the function call:

repo.DeleteByID("EU00789980");

Function will delete the specific record that has "EU00899091" as ID (the Primary Key of the data table "Production Orders") from the repository.

Last updated