// properties
 public static string CommandName(this EndTransactionOperation obj) => (string)Reflector.GetPropertyValue(obj, nameof(CommandName));
        // methods
        public static BsonDocument CreateCommand(this EndTransactionOperation obj)
        {
            var methodInfo = typeof(EndTransactionOperation).GetMethod("CreateCommand", BindingFlags.NonPublic | BindingFlags.Instance);

            return((BsonDocument)methodInfo.Invoke(obj, null));
        }
 // fields
 public static BsonDocument _recoveryToken(this EndTransactionOperation obj) => (BsonDocument)Reflector.GetFieldValue(obj, nameof(_recoveryToken));