Samples Operations
INSERT INTO Customer ( FirstName, LastName, Email, PhoneNumber) VALUES ( @FirstName, @LastName, @Email, @PhoneNumber)
SELECT CustomerID, FirstName, LastName, Email, PhoneNumber FROM Customer WHERE (CustomerID = @CustomerID)
UPDATE CustomerSET FirstName = @FirstName, LastName = @LastName, Email = @Email, PhoneNumber = @PhoneNumber WHERE CustomerID = @CustomerID
DELETE FROM Customer WHERE CustomerID = @CustomerID
Hi Unal, Please read the documentation first. There are API Examples in Kentico API which you can have a look at, and use according to your needs and configuration.
If it is not what you are looking for please provide more information.
Use CustomerInfoProvider to manipulate customers. You can find more details here.
Please keep in mind that manipulating database directly is not supported scenario. You should always use Kentico API to aviod system corruption.
Please, sign in to be able to submit a new answer.