 |
BcfTableAddNewRow Method (DictionaryString, Object, Boolean) |
Namespace: CalculationWorks.BusinessModelAssembly: CalculationWorks.BusinessModel (in CalculationWorks.BusinessModel.dll) Version: 3.0.2.0
Syntaxpublic BcfRow AddNewRow(
Dictionary<string, Object> defaultValues,
bool optimistic
)
Public Function AddNewRow (
defaultValues As Dictionary(Of String, Object),
optimistic As Boolean
) As BcfRow
public:
BcfRow^ AddNewRow(
Dictionary<String^, Object^>^ defaultValues,
bool optimistic
)
member AddNewRow :
defaultValues : Dictionary<string, Object> *
optimistic : bool -> BcfRow
Parameters
- defaultValues
- Type: System.Collections.GenericDictionaryString, Object
The default values. - optimistic
- Type: SystemBoolean
if set to true operation will be executed in
CurrentTransaction and in case of error the transaction has to be discarded (
Rollback). Otherwise operation will be executed in a subtransaction of
CurrentTransaction in case of error the subtransaction will be discarded without
affecting CurrentTransaction. For best performance set optimistic to true. Default
is true.
Return Value
Type:
BcfRowBcfRow.
Exceptions
Version InformationCalculationWorks.BusinessModel
Supported in: 3.0, 2.1, 2.0
See Also