When mode is TRANSACTIONAL, mutations affecting a single entity are
applied in order. The following sequences of mutations affecting a single
entity are not permitted in a single Commit request:
insert followed by insert
update followed by insert
upsert followed by insert
delete followed by update
When mode is NON_TRANSACTIONAL, no two mutations may affect a single
entity.
The identifier of the transaction associated with the commit. A
transaction identifier is returned by a call to
[Datastore.BeginTransaction][google.datastore.v1.Datastore.BeginTransaction].
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis page details the \u003ccode\u003eCommitRequest\u003c/code\u003e class, which is used to define a request for the \u003ccode\u003eDatastore.Commit\u003c/code\u003e operation within the Google Cloud Datastore V1 library for .NET.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version documented is 4.15.0, but the current class is part of version 3.5.0, and links to documentation for versions from 3.2.0 through 4.15.0 are provided.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCommitRequest\u003c/code\u003e class inherits from \u003ccode\u003eObject\u003c/code\u003e and implements multiple interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of \u003ccode\u003eCommitRequest\u003c/code\u003e include \u003ccode\u003eMode\u003c/code\u003e to define the commit type, \u003ccode\u003eMutations\u003c/code\u003e to specify data changes, \u003ccode\u003eProjectId\u003c/code\u003e for project identification, and \u003ccode\u003eTransaction\u003c/code\u003e for transaction association.\u003c/p\u003e\n"],["\u003cp\u003eIt is documented that there are two constructors, \u003ccode\u003eCommitRequest()\u003c/code\u003e and \u003ccode\u003eCommitRequest(CommitRequest other)\u003c/code\u003e to help users create a request, and the documentation defines the differences between both.\u003c/p\u003e\n"]]],[],null,[]]