KREDOR Business Object Framework Documentation

BusinessObject.Save Method ()

Saves the object to the database.

public virtual void Save();

Remarks

If the object is a newly created object then its schema's Insert command is used, otherwise the Update command is used.

Exceptions

Exception Type Condition
BOException  

Example

This sample code creates an object of type Account and saves it to the database.

Account account;
account = new Account("Ebay", AccountType.Business);
account.Save();

See Also

BusinessObject Class | Kredor.BO Namespace | BusinessObject.Save Overload List