Share via


MemberTransactionBehavior Enum

Definition

Specifies the transaction behavior when creating, updating, or merging an entity member.

public enum class MemberTransactionBehavior
[System.Runtime.Serialization.DataContract(Namespace="http://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")]
public enum MemberTransactionBehavior
[<System.Runtime.Serialization.DataContract(Namespace="http://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")>]
type MemberTransactionBehavior = 
Public Enum MemberTransactionBehavior
Inheritance
MemberTransactionBehavior
Attributes

Fields

Name Value Description
BestEffort 0

Only fail those changes that have errors. E.g., when creating a new member, if one of the member's attribute values is not valid, create the member and set any attributes that are valid, leaving the not valid attribute set to null.

AllOrNothingByMember 1

If there was an error, fail all changes related to the member with the error. E.g., when creating multiple new members, if one of the new members has an attribute value that is not valid, do not create the new member. But create other new members within the same batch that do not have errors.

AllOrNothingByBatch 2

If there was an error anywhere, fail the whole batch. E.g., when creating multiple new members, if one of the new members has an attribute value that is not valid, do not create the new member or any of the other new members (even those without errors) in the same batch.

Remarks

The MemberTransactionBehavior simple type specifies the transaction behavior when creating, updating, or merging an entity member.

Applies to