EasyObjects.NET Programmers Reference

EasyObject.Save Method (CommandType)

Saves all the rows in the EasyObject.

public virtual void Save(
   CommandType commandType
);

Parameters

commandType
Missing <param> documentation for commandType

Remarks

Any rows with a DataRowState of Added will call the Insert routine. Any rows with a DataRowState of Modified will call the Update routine. Any rows with a DataRowState of Deleted will call the Deleted routine.

All database calls will participate in the current transaction. If no transaction is present, then a new transaction will be created. The entire EasyObject will succeed or fail in one transaction.

See Also

EasyObject Class | NCI.EasyObjects Namespace | EasyObject.Save Overload List