Eplan Platform API
Eplan.EplApi.DataModel Namespace / Transaction Class / Store Method
Example

In This Topic
Store Method (Transaction)
In This Topic
This method will enable to commit the transaction, and \internal open the next transaction.
Syntax
public void Store()
Example
Store() usage example. In this example Function f Name is set "F1", Description is set "generic function". The changes are stored in the project. Name "F2" is not committed, so it is not stored.
using (Transaction txn = new TransactionManager().CreateTransaction())
{
    Function f;
    f.Name = "F1";
    f.Description = "generic function";
    txn.Store();
    f.Name = "F2";
    txn.Abort();
}
See Also